mirror of https://github.com/sbt/sbt.git
Remove carriage return characters when loading configuration files.
Issue: sbt/sbt-launcher-package#165
This commit is contained in:
parent
ace1846e36
commit
11edc53335
|
|
@ -135,7 +135,7 @@ process_my_args () {
|
|||
}
|
||||
|
||||
loadConfigFile() {
|
||||
cat "$1" | sed '/^\#/d' | while read line; do
|
||||
cat "$1" | sed '/^\#/d;s/\r$//' | while read line; do
|
||||
eval echo $line
|
||||
done
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue