Revert --retry-on-http-error usage, Travis CI's wget doesn't recognize it

This commit is contained in:
Michael Vines
2019-05-27 19:33:20 -07:00
parent 65f89d6729
commit dd39b2b056

View File

@ -19,9 +19,6 @@ download() {
"--retry-connrefused" "--retry-connrefused"
"--read-timeout=30" "--read-timeout=30"
) )
# Github release URLs 302 to AWS S3. Sometimes that S3 URL returns 403
args+=("--retry-on-http-error=403")
wget "${args[@]}" wget "${args[@]}"
} }
@ -36,7 +33,7 @@ if [[ ! -r criterion-$machine-$version.md ]]; then
mkdir criterion mkdir criterion
cd criterion cd criterion
base=https://github.com/Snaipe/Criterion/releases/ base=https://github.com/Snaipe/Criterion/releases
download $base/download/$version/$filename $filename mega download $base/download/$version/$filename $filename mega
tar --strip-components 1 -jxf $filename tar --strip-components 1 -jxf $filename
rm -rf $filename rm -rf $filename