diff --git a/src/universal/bin/sbt b/src/universal/bin/sbt index 3109a3e..70dfc91 100755 --- a/src/universal/bin/sbt +++ b/src/universal/bin/sbt @@ -137,7 +137,7 @@ process_my_args () { loadConfigFile() { # Make sure the last line is read even if it doesn't have a terminating \n - cat "$1" | sed '/^\#/d' | while read -r line || [[ -n "$line" ]]; do + cat "$1" | sed '/^\#/d;s/\r$//' | while read -r line || [[ -n "$line" ]]; do eval echo $line done }