[MacOS] improve errexit option handling (#8432)

* [MacOS] improve errexit option handling

* Prevent prompting for override when unzipping

* Explicitly allow failing when installing virtualbox

* Remove libtcl symlinks

* Add debug output
This commit is contained in:
Vasilii Polikarpov
2023-10-26 11:28:45 +02:00
committed by GitHub
parent fc9431c2eb
commit 378c4d7511
5 changed files with 26 additions and 18 deletions
@@ -126,7 +126,7 @@ sdkTools="android-sdk-tools.zip"
sdkToolsVersion=$(get_toolset_value '.android."sdk-tools"')
if [ "$sdkToolsVersion" != "null" ]; then
download_with_retries "https://dl.google.com/android/repository/${sdkToolsVersion}" "." $sdkTools
unzip -qq $sdkTools -d ${ANDROID_SDK_ROOT}
unzip -o -qq $sdkTools -d ${ANDROID_SDK_ROOT}
rm -f $sdkTools
fi