Removing the trailing '\r' for bash shells.
https://github.com/dotnet/cli/issues/7392
This commit is contained in:
parent
44326a0a64
commit
572d2367df
1 changed files with 1 additions and 1 deletions
2
scripts/obtain/dotnet-install.sh
vendored
2
scripts/obtain/dotnet-install.sh
vendored
|
@ -318,7 +318,7 @@ get_normalized_architecture_from_architecture() {
|
||||||
get_version_from_version_info() {
|
get_version_from_version_info() {
|
||||||
eval $invocation
|
eval $invocation
|
||||||
|
|
||||||
cat | tail -n 1
|
cat | tail -n 1 | sed 's/\r$//'
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue