Fix download retry helper (#1110)

* Fix download helper

* Fix download helper

* Add compressed flag to helper

* Minor fix

* Minor fix
This commit is contained in:
Vladimir Safonkin
2020-07-01 13:31:41 +00:00
committed by GitHub
parent 4d685f4b01
commit c1ee9d8bc6
2 changed files with 9 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ function InstallPyPy
# Installation PyPy
uri="https://downloads.python.org/pypy/"
download_with_retries $uri "/tmp" "pypyUrls.html"
download_with_retries $uri "/tmp" "pypyUrls.html" compressed
pypyVersions="$(cat /tmp/pypyUrls.html | grep 'linux64' | awk -v uri="$uri" -F'>|<' '{print uri$5}')"
toolsetJson="$INSTALLER_SCRIPT_FOLDER/toolset.json"