mirror of https://github.com/sbt/sbt.git
Fix config file loading to do shell expansion first.
from @benevans.
This commit is contained in:
parent
d16ab1abd1
commit
18352254e0
|
|
@ -130,7 +130,9 @@ process_my_args () {
|
|||
}
|
||||
|
||||
loadConfigFile() {
|
||||
cat "$1" | sed '/^\#/d'
|
||||
for line in $(cat "$1" | sed '/^\#/d'); do
|
||||
eval echo $line
|
||||
done
|
||||
}
|
||||
|
||||
# TODO - Pull in config based on operating system... (MSYS + cygwin should pull in txt file).
|
||||
|
|
|
|||
Loading…
Reference in New Issue