From 18655fb9a8187cf25871d74648fc6115d6864108 Mon Sep 17 00:00:00 2001 From: Davis Goodin Date: Fri, 6 Jan 2017 14:16:18 -0600 Subject: [PATCH] Swap wget and curl to fix init-tools capability check (dotnet/coreclr#8831) Commit migrated from https://github.com/dotnet/coreclr/commit/48298d2e2d31fd80528cc401f96705175e25ee8d --- src/coreclr/init-tools.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4