From 38b88c99f1221cabf945b9acfc4a417f350a4013 Mon Sep 17 00:00:00 2001 From: John Beisner Date: Tue, 26 Sep 2017 08:32:11 -0700 Subject: [PATCH] Removing the trailing '\r' for bash shells; commit hash. --- scripts/obtain/dotnet-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/obtain/dotnet-install.sh b/scripts/obtain/dotnet-install.sh index a4632bff6..a3a7b6ed8 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 | sed 's/\r$//' + cat | tail -n 1 | sed 's/\r$//' return 0 } @@ -327,7 +327,7 @@ get_version_from_version_info() { get_commit_hash_from_version_info() { eval $invocation - cat | head -n 1 + cat | head -n 1 | sed 's/\r$//' return 0 }