From a23079542488d49c2f6a8bf8dac464d326cc31b4 Mon Sep 17 00:00:00 2001 From: Greg Hazel Date: Sat, 6 Jun 2020 00:36:57 -0700 Subject: [PATCH] android-build.sh: exit with return code 1 if the NDK is not present --- dist-build/android-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/android-build.sh b/dist-build/android-build.sh index 76917504..ece1d01d 100755 --- a/dist-build/android-build.sh +++ b/dist-build/android-build.sh @@ -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