makerelease: Provide ANDROID_HOME from outside

pull/46/head release-1.16.2
Tatsuhiro Tsujikawa 2013-02-03 00:19:50 +09:00
parent 85cd65a664
commit 0a4b21e33b
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,10 @@
#!/bin/sh -e
if [ -z "$ANDROID_HOME" ]; then
echo 'No $ANDROID_HOME specified.'
exit 1
fi
VERSION=$1
PREV_VERSION=$2
@ -27,7 +32,6 @@ make -j3
make distclean
# android
export ANDROID_HOME=/home/tatsuhiro/workspace/android/android-9-r8b
./android-config
./android-make -j3
./android-release