diff options
author | kwadronaut <kwadronaut@autistici.org> | 2022-11-10 12:00:54 +0100 |
---|---|---|
committer | kwadronaut <kwadronaut@autistici.org> | 2022-11-10 14:53:54 +0100 |
commit | 0a2a82a73546f157611e9706df8bca3122a6684c (patch) | |
tree | 62ff704d3dbcb0b797add88ceac7de765eb49853 /scripts/build_deps.sh | |
parent | 5b9505dbb37d110b8c528671bbfc67f7944d2e43 (diff) |
more help for first-time devs
Diffstat (limited to 'scripts/build_deps.sh')
-rwxr-xr-x | scripts/build_deps.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh index 0d37d7de..e52a4401 100755 --- a/scripts/build_deps.sh +++ b/scripts/build_deps.sh @@ -27,6 +27,9 @@ cd $BASE_DIR if [[ $(ls -A ${ANDROID_HOME}/ndk/${EXPECTED_NDK_VERSION}) ]] then ANDROID_NDK_HOME=${ANDROID_HOME}/ndk/${EXPECTED_NDK_VERSION} +elif [[ -f ${ANDROID_HOME/android-ndk-}${EXPECTED_ANDOID_NDK_RELEASE_VERSION }} ]]; then + echo "make sure you have the right ndk version installed and paths are set correctly" + exit 1 else # ndk was manually downloaded from http://dl.google.com/android/repository ANDROID_NDK_HOME=${ANDROID_HOME}/android-ndk-${EXPECTED_ANDROID_NDK_RELEASE_VERSION} |