#!/bin/bash [ -z "$UNATTENDED" ] && [ "$1" = "unattended" ] && UNATTENDED="yes" && export UNATTENDED export MOZILLA_OFFICIAL=1 export BUILD_OFFICIAL=1 if [ ! -f client.py ]; then if [ -z "$1" ]; then cd $MOZ_HOME/$MOZ_COMM_CENTRAL_DIRNAME else cd "$1" fi [ ! -f client.py ] && echo "client.py not found, exiting." && exit 1 fi time python client.py checkout