Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eng/common/tools.sh')
-rwxr-xr-xeng/common/tools.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/eng/common/tools.sh b/eng/common/tools.sh
index 9019b7f5c..5fad1846e 100755
--- a/eng/common/tools.sh
+++ b/eng/common/tools.sh
@@ -273,8 +273,7 @@ function GetDotNetInstallScript {
if command -v curl > /dev/null; then
# first, try directly, if this fails we will retry with verbose logging
curl "$install_script_url" -sSL --retry 10 --create-dirs -o "$install_script" || {
- if command -v openssl &> /dev/null
- then
+ if command -v openssl &> /dev/null; then
echo "Curl failed; dumping some information about dotnet.microsoft.com for later investigation"
echo | openssl s_client -showcerts -servername dotnet.microsoft.com -connect dotnet.microsoft.com:443
fi