From 18352254e0dfe93987c0dde1d8aa450b144fb723 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Sat, 29 Jun 2013 10:23:49 -0400 Subject: [PATCH] Fix config file loading to do shell expansion first. from @benevans. --- src/universal/bin/sbt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/universal/bin/sbt b/src/universal/bin/sbt index 24c9799a2..427857fd5 100755 --- a/src/universal/bin/sbt +++ b/src/universal/bin/sbt @@ -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).