mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
complete-ci-tests: exit with error if setup is not correct
This commit is contained in:
parent
f06afe7884
commit
5f1e57c7e6
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
if [ `dirname $0` != "." ]; then
|
if [ `dirname $0` != "." ]; then
|
||||||
echo "only run this script like ./`basename $0`"
|
echo "only run this script like ./`basename $0`"
|
||||||
exit
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
@ -22,7 +22,7 @@ if [ -z $ANDROID_HOME ]; then
|
|||||||
. ~/.android/bashrc
|
. ~/.android/bashrc
|
||||||
else
|
else
|
||||||
echo "ANDROID_HOME must be set!"
|
echo "ANDROID_HOME must be set!"
|
||||||
exit
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user