chiark / gitweb /
bs: add sqlite3 and asn1c
[fdroidserver.git] / buildserver / setup-env-vars
1 #!/bin/sh
2 #
3 # sets up the environment vars needed by the build process
4
5 set -e
6 set -x
7
8 bsenv=/etc/profile.d/bsenv.sh
9
10 echo "# generated on "`date` > $bsenv
11
12 echo export ANDROID_HOME=$1 >> $bsenv
13 echo 'export PATH=$PATH:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:/opt/gradle/bin' >> $bsenv
14
15 chmod 0644 $bsenv