Commit 511d39c1 authored by Kevin Sapper's avatar Kevin Sapper

Problem: Unable to overwrite the ANDROID_BUILD_DIR

Solution: Use pwd only a default value
parent 91792109
...@@ -6,10 +6,10 @@ function usage { ...@@ -6,10 +6,10 @@ function usage {
# Use directory of current script as the build directory and working directory # Use directory of current script as the build directory and working directory
cd "$( dirname "${BASH_SOURCE[0]}" )" cd "$( dirname "${BASH_SOURCE[0]}" )"
ANDROID_BUILD_DIR="$(pwd)" ANDROID_BUILD_DIR="${ANDROID_BUILD_DIR:-`pwd`}"
# Get access to android_build functions and variables # Get access to android_build functions and variables
source ${ANDROID_BUILD_DIR}/android_build_helper.sh source ./android_build_helper.sh
# Choose a C++ standard library implementation from the ndk # Choose a C++ standard library implementation from the ndk
ANDROID_BUILD_CXXSTL="gnustl_shared_49" ANDROID_BUILD_CXXSTL="gnustl_shared_49"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment