From 003e6f2ca158d8afadfcd2787ca507e66809213d Mon Sep 17 00:00:00 2001 From: Tal Regev Date: Sat, 14 May 2022 00:24:05 +0300 Subject: [PATCH] Make createNDKFolder less quite --- android/ndk_common.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/android/ndk_common.sh b/android/ndk_common.sh index e8745c4c96f..1c36f978e2b 100644 --- a/android/ndk_common.sh +++ b/android/ndk_common.sh @@ -7,14 +7,22 @@ export NDK_ARMV6_ROOT=$BUILD_DIR/android-ndk-r${NDK_ARMV6_VERSION} createNDKFolder() { + ndk_filename=android-ndk-r${NDK_VERSION}-linux-x86_64.zip rm -rf "$BUILD_DIR/android-ndk-r${NDK_VERSION}" - wget -c --no-verbose -O /tmp/ndk_${NDK_VERSION}.zip https://dl.google.com/android/repository/android-ndk-r${NDK_VERSION}-linux-x86_64.zip - unzip -qq /tmp/ndk_${NDK_VERSION}.zip -d $BUILD_DIR + echo Downloading $ndk_filename + wget -c --no-verbose -O /tmp/$ndk_filename https://dl.google.com/android/repository/$ndk_filename + echo Extracting $ndk_filename + unzip -qq /tmp/$ndk_filename -d $BUILD_DIR + echo Finished extracting of $ndk_filename } createNDKARMV6Folder() { + ndk_filename="android-ndk-r${NDK_ARMV6_VERSION}-linux-x86_64.zip" rm -rf "$BUILD_DIR/android-ndk-r${NDK_ARMV6_VERSION}" - wget -c --no-verbose -O /tmp/ndk_armv6_${NDK_ARMV6_VERSION}.zip https://dl.google.com/android/repository/android-ndk-r${NDK_ARMV6_VERSION}-linux-x86_64.zip - unzip -qq /tmp/ndk_armv6_${NDK_ARMV6_VERSION}.zip -d $BUILD_DIR + echo Downloading $ndk_filename + wget -c --no-verbose -O /tmp/$ndk_filename https://dl.google.com/android/repository/$ndk_filename + echo Extracting $ndk_filename + unzip -qq /tmp/$ndk_filename -d $BUILD_DIR + echo Finished extracting of $ndk_filename }