Skip to content

Commit

Permalink
Allow ANDROID_NDK_HOME to be read from env
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeuw committed Apr 17, 2021
1 parent 4791432 commit d72aa41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ function try() {
}

pushd ../..
ANDROID_NDK_HOME="$(./gradlew -q printNDKPath)"
"${ANDROID_NDK_HOME:=$(./gradlew -q printNDKPath)}"
CK_RELEASE_TAG=v"$(./gradlew -q printVersionName)"
popd

while [ ! -d "$ANDROID_NDK_HOME" ]; do
echo "Path to ndk-bundle not found. Please enter the full path"
read -p '' ANDROID_NDK_HOME
echo "Path to ndk-bundle not found"
exit -1
done

getHostTag
Expand Down

0 comments on commit d72aa41

Please sign in to comment.