From 29cdebe42403452ed87b18618be734393f4c5477 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Tue, 7 Sep 2021 18:32:22 +0900 Subject: [PATCH] quiet down wget and unzip really don't need 5mb of logs every time those run... --- scripts/prepare-exoplayer-ffmpeg.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/prepare-exoplayer-ffmpeg.sh b/scripts/prepare-exoplayer-ffmpeg.sh index 87740a1..1ce407e 100755 --- a/scripts/prepare-exoplayer-ffmpeg.sh +++ b/scripts/prepare-exoplayer-ffmpeg.sh @@ -13,8 +13,15 @@ ndkDownloadZip="$root/ndk/ndk.zip" if [ -z "$NDK_PATH" ] && [ ! -e "$ndkLocalPath" ]; then mkdir -p "$root/ndk" - wget https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip -O "$ndkDownloadZip" - unzip -d "$root/ndk" "$ndkDownloadZip" + + echo "downloading android-ndk-r21e-linux-x86_64.zip to $ndkDownloadZip..." + wget -nv https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip -O "$ndkDownloadZip" + echo "done!" + + echo "extracting $ndkDownloadZip..." + unzip -q -d "$root/ndk" "$ndkDownloadZip" + echo "done!" + rm "$ndkDownloadZip" fi