From: Hans-Christoph Steiner Date: Mon, 15 Feb 2016 10:40:35 +0000 (+0100) Subject: complete-ci-tests: exit with error if setup is not correct X-Git-Tag: 0.6.0~5^2~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5f1e57c7e68f9ce0e2a6f9dbf7024a580b816e34;hp=f06afe788433214c34b1cb24fa6b784028df975c;p=fdroidserver.git complete-ci-tests: exit with error if setup is not correct --- diff --git a/tests/complete-ci-tests b/tests/complete-ci-tests index e9595b03..b536dc9e 100755 --- a/tests/complete-ci-tests +++ b/tests/complete-ci-tests @@ -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