From: Davis Goodin Date: Fri, 6 Jan 2017 20:16:18 +0000 (-0600) Subject: Swap wget and curl to fix init-tools capability check (dotnet/coreclr#8831) X-Git-Tag: submit/tizen/20210909.063632~11030^2~8503 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18655fb9a8187cf25871d74648fc6115d6864108;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Swap wget and curl to fix init-tools capability check (dotnet/coreclr#8831) Commit migrated from https://github.com/dotnet/coreclr/commit/48298d2e2d31fd80528cc401f96705175e25ee8d --- diff --git a/src/coreclr/init-tools.sh b/src/coreclr/init-tools.sh index d4183ad..83a320f 100755 --- a/src/coreclr/init-tools.sh +++ b/src/coreclr/init-tools.sh @@ -111,9 +111,9 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then # curl has HTTPS CA trust-issues less often than wget, so lets try that first. echo "Installing '${__DOTNET_LOCATION}' to '$__DOTNET_PATH/dotnet.tar'" >> $__init_tools_log if command -v curl > /dev/null; then - wget -q -O $__DOTNET_PATH/dotnet.tar ${__DOTNET_LOCATION} - else curl --retry 10 -sSL --create-dirs -o $__DOTNET_PATH/dotnet.tar ${__DOTNET_LOCATION} + else + wget -q -O $__DOTNET_PATH/dotnet.tar ${__DOTNET_LOCATION} fi cd $__DOTNET_PATH tar -xf $__DOTNET_PATH/dotnet.tar