complete-ci-tests: exit with error if setup is not correct

This commit is contained in:
Hans-Christoph Steiner 2016-02-15 11:40:35 +01:00
parent f06afe7884
commit 5f1e57c7e6
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
if [ `dirname $0` != "." ]; then
echo "only run this script like ./`basename $0`"
exit
exit 1
fi
set -e
@ -22,7 +22,7 @@ if [ -z $ANDROID_HOME ]; then
. ~/.android/bashrc
else
echo "ANDROID_HOME must be set!"
exit
exit 1
fi
fi