mirror of https://github.com/sbt/sbt.git
Fixed incorrect sbtopts lines processing
It used `for` loop which is known to work incorrectly with spaces. This commit changes it to `while read` loop. This allows more complex options to be specified in sbtopts files. Fixes #80
This commit is contained in:
parent
7c5bf6f5f6
commit
4334c8672d
|
|
@ -131,7 +131,7 @@ process_my_args () {
|
||||||
}
|
}
|
||||||
|
|
||||||
loadConfigFile() {
|
loadConfigFile() {
|
||||||
for line in $(cat "$1" | sed '/^\#/d'); do
|
cat "$1" | sed '/^\#/d' | while read line; do
|
||||||
eval echo $line
|
eval echo $line
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue