android-build.sh: exit with return code 1 if the NDK is not present

This commit is contained in:
Greg Hazel
2020-06-06 09:36:57 +02:00
committed by GitHub
parent 6499766fb6
commit c6506e6441
+1 -1
View File
@@ -10,7 +10,7 @@ export NDK_API_VERSION_COMPAT=$(echo "$NDK_PLATFORM_COMPAT" | sed 's/^android-//
if [ -z "$ANDROID_NDK_HOME" ]; then
echo "You should probably set ANDROID_NDK_HOME to the directory containing"
echo "the Android NDK"
exit
exit 1
fi
if [ ! -f ./configure ]; then