android-build.sh: exit with return code 1 if the NDK is not present
This commit is contained in:
parent
2ea21b96e0
commit
a230795424
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user