diff --git a/makerelease b/makerelease index 83b7d3c5..054e3994 100755 --- a/makerelease +++ b/makerelease @@ -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