mirror of https://github.com/sbt/sbt.git
Merge pull request #46 from benevans/shell-expansion
Perform shell expansion when loading sbtopts files.
This commit is contained in:
commit
2d833ef36e
|
|
@ -94,7 +94,9 @@ process_my_args () {
|
|||
}
|
||||
|
||||
loadConfigFile() {
|
||||
cat "$1" | sed '/^\#/d'
|
||||
for line in $(cat "$1" | sed '/^\#/d'); do
|
||||
eval echo $line
|
||||
done
|
||||
}
|
||||
|
||||
# if sbtopts files exist, prepend their contents to $@ so it can be processed by this runner
|
||||
|
|
|
|||
Loading…
Reference in New Issue