bash subshell to try to get mapbox-time working with custom commands
This commit is contained in:
@@ -4,13 +4,14 @@ set -e
|
||||
set -o pipefail
|
||||
|
||||
if [[ "${MASON_PLATFORM}" == "android" ]]; then
|
||||
MASON_PLATFORM= ./.mason/mason install 7z 9.20
|
||||
mapbox_time "unpacking NDK" \
|
||||
$(MASON_PLATFORM= ./.mason/mason install 7z 9.20)
|
||||
SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za"
|
||||
mapbox_time "fetching NDK" \
|
||||
wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
|
||||
chmod a+x ./android-ndk-r10c-linux-x86_64.bin
|
||||
mapbox_time "unpacking NDK" \
|
||||
SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > /dev/null;
|
||||
$(SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > /dev/null);
|
||||
export ANDROID_NDK_PATH=$(pwd)/android-ndk-r10c;
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user