Miscellaneous script fixes...

This commit is contained in:
John Beisner 2017-08-31 13:18:42 -07:00
parent 735188e023
commit 8a150f89a3
2 changed files with 10 additions and 9 deletions

View file

@ -334,6 +334,7 @@ is_dotnet_package_installed() {
# azure_feed - $1
# channel - $2
# normalized_architecture - $3
# coherent - $4
get_latest_version_info() {
eval $invocation
@ -583,7 +584,7 @@ downloadcurl() {
local failed=false
if [ -z "$out_path" ]; then
curl --retry 10 -sSL -f --create-dirs $remote_path || failed=true
curl --retry 10 -sSL -f --create-dirs -o $remote_path || failed=true
else
curl --retry 10 -sSL -f --create-dirs -o $out_path $remote_path || failed=true
fi
@ -601,7 +602,7 @@ downloadwget() {
local failed=false
if [ -z "$out_path" ]; then
wget -q --tries 10 $remote_path || failed=true
wget -q --tries 10 -O $remote_path || failed=true
else
wget -v --tries 10 -O $out_path $remote_path || failed=true
fi