mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
complete-ci-tests: exit with error if setup is not correct
This commit is contained in:
parent
f06afe7884
commit
5f1e57c7e6
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue