From 9acedb3408f951c63a575fd147f2ebfed232560d Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 29 Nov 2020 19:45:05 +0300 Subject: [PATCH] travis: restore unzipping file --- scripts/travis_android_deps.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/travis_android_deps.sh b/scripts/travis_android_deps.sh index a57d9128..3e17a95e 100755 --- a/scripts/travis_android_deps.sh +++ b/scripts/travis_android_deps.sh @@ -7,7 +7,8 @@ git clone --depth 1 --recursive https://github.com/FWGS/hlsdk-xash3d hlsdk || ex echo "Download and unpack Android SDK" mkdir -p sdk && cd sdk -(wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -qO - | busybox unzip -x -) || exit 1 +wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -qO sdk.zip > /dev/null || exit 1 +unzip -x sdk.zip || exit 1 cd $TRAVIS_BUILD_DIR echo "Download all needed tools and NDK" @@ -18,7 +19,8 @@ if [ "$1" = "r10e" ]; then fi sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-29 $NDK_BUNDLE > /dev/null 2>/dev/null if [ "$1" = "r10e" ]; then - (wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip | busybox unzip -x -) || exit 1 + wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip -qO ndk.zip > /dev/null || exit 1 + unzip -x ndk.zip || exit 1 mv android-ndk-r10e sdk/ndk-bundle fi echo "Download Xash3D FWGS Android source"