diff --git a/scripts/centos-install-deps.sh b/scripts/centos-install-deps.sh old mode 100644 new mode 100755 diff --git a/scripts/download-ndk.sh b/scripts/download-ndk.sh index fd05d93..4c58884 100755 --- a/scripts/download-ndk.sh +++ b/scripts/download-ndk.sh @@ -2,10 +2,12 @@ # Copyright (c) Meta Platforms, Inc. and affiliates. dest="${1:-$(pwd)}" +TMP_NDK="/tmp/android-ndk-r23b-linux.zip" + echo "downloading ndk to ${dest}..." -wget -q -P /tmp https://dl.google.com/android/repository/android-ndk-r23b-linux.zip -unzip -q /tmp/android-ndk-r23b-linux.zip -d "${dest}" +curl -s -o "${TMP_NDK}" https://dl.google.com/android/repository/android-ndk-r23b-linux.zip +unzip -q "${TMP_NDK}" -d "${dest}" rm /tmp/android-ndk-r23b-linux.zip echo "done"