Changes per code review...
This commit is contained in:
parent
8a150f89a3
commit
e0172b5689
1 changed files with 2 additions and 2 deletions
4
scripts/obtain/dotnet-install.sh
vendored
4
scripts/obtain/dotnet-install.sh
vendored
|
@ -584,7 +584,7 @@ downloadcurl() {
|
|||
|
||||
local failed=false
|
||||
if [ -z "$out_path" ]; then
|
||||
curl --retry 10 -sSL -f --create-dirs -o $remote_path || failed=true
|
||||
curl --retry 10 -sSL -f --create-dirs $remote_path || failed=true
|
||||
else
|
||||
curl --retry 10 -sSL -f --create-dirs -o $out_path $remote_path || failed=true
|
||||
fi
|
||||
|
@ -602,7 +602,7 @@ downloadwget() {
|
|||
|
||||
local failed=false
|
||||
if [ -z "$out_path" ]; then
|
||||
wget -q --tries 10 -O $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
|
||||
|
|
Loading…
Reference in a new issue