3 # sets up the environment vars needed by the build process
8 bsenv=/etc/profile.d/bsenv.sh
10 echo "# generated on "`date` > $bsenv
12 echo export ANDROID_HOME=$1 >> $bsenv
13 echo 'export PATH=$PATH:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:/opt/gradle/bin' >> $bsenv
17 # make sure that SSH never hangs at a password or key prompt
18 printf ' StrictHostKeyChecking yes' >> /etc/ssh/ssh_config
19 printf ' BatchMode yes' >> /etc/ssh/config