Removing the trailing '\r' for bash shells.

https://github.com/dotnet/cli/issues/7392
This commit is contained in:
John Beisner 2017-09-25 19:41:58 -07:00
parent 44326a0a64
commit 572d2367df

View file

@ -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
}