Removing the trailing '\r' for bash shells; commit hash.

This commit is contained in:
John Beisner 2017-09-26 08:32:11 -07:00
parent 572d2367df
commit 38b88c99f1

View file

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