From 572d2367df5b8ded546bf65ee4c1b9934b0aeb7d Mon Sep 17 00:00:00 2001 From: John Beisner Date: Mon, 25 Sep 2017 19:41:58 -0700 Subject: [PATCH] Removing the trailing '\r' for bash shells. https://github.com/dotnet/cli/issues/7392 --- scripts/obtain/dotnet-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/obtain/dotnet-install.sh b/scripts/obtain/dotnet-install.sh index b1aef49f4..a4632bff6 100755 --- a/scripts/obtain/dotnet-install.sh +++ b/scripts/obtain/dotnet-install.sh @@ -318,7 +318,7 @@ get_normalized_architecture_from_architecture() { get_version_from_version_info() { eval $invocation - cat | tail -n 1 + cat | tail -n 1 | sed 's/\r$//' return 0 }