chiark / gitweb /
complete-ci-tests: exit with error if setup is not correct
authorHans-Christoph Steiner <hans@eds.org>
Mon, 15 Feb 2016 10:40:35 +0000 (11:40 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 15 Feb 2016 22:06:31 +0000 (23:06 +0100)
tests/complete-ci-tests

index e9595b03a6ea7d1aedf9b2a8d0052762f2d7dd11..b536dc9e3a42e5be35efea20a20552a59045fd7f 100755 (executable)
@@ -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