Merge pull request #46 from benevans/shell-expansion

Perform shell expansion when loading sbtopts files.
This commit is contained in:
Josh Suereth 2013-06-29 07:24:40 -07:00
commit 2d833ef36e
1 changed files with 3 additions and 1 deletions

View File

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