download to /tmp for azcopy and aws

This commit is contained in:
Vladimir Safonkin
2020-11-09 11:25:04 +03:00
parent ffcfad23be
commit 3a9390dcbc
2 changed files with 5 additions and 4 deletions

View File

@@ -4,9 +4,10 @@ source ~/utils/utils.sh
echo Installing aws...
AWSCLIURL="https://awscli.amazonaws.com/AWSCLIV2.pkg"
download_with_retries $AWSCLIURL "."
download_with_retries $AWSCLIURL "/tmp"
pushd /tmp
sudo installer -pkg AWSCLIV2.pkg -target /
rm -rf AWSCLIV2.pkg
popd
echo Installing aws sam cli...
brew tap aws/tap