diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-10 13:06:24 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-10 13:06:24 +0200 |
commit | 3d6417834481deec5b3c39754c075471e6278225 (patch) | |
tree | 7e89f54f207533aa215ae455fcd06a048c8a5ebb /.app/lib/app-conf | |
parent | 908dd2b72e4ab4caa0bc77405d5636b935e0878e (diff) | |
download | app.sh-3d6417834481deec5b3c39754c075471e6278225.tar.gz app.sh-3d6417834481deec5b3c39754c075471e6278225.tar.bz2 app.sh-3d6417834481deec5b3c39754c075471e6278225.tar.xz app.sh-3d6417834481deec5b3c39754c075471e6278225.zip |
o Getting the default method to work again.
o Getting passing of environment variables to work again.
Diffstat (limited to '.app/lib/app-conf')
-rw-r--r-- | .app/lib/app-conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.app/lib/app-conf b/.app/lib/app-conf index b1b06c0..3f2863b 100644 --- a/.app/lib/app-conf +++ b/.app/lib/app-conf @@ -44,10 +44,10 @@ get_conf_in_group() { local BASEDIR=$1 local name=$2 local instance=$3 - local prefix=$1 + local group=$4 get_conf_all "$BASEDIR" "$name" "$instance" | \ - sed -n "s,^[ ]*${prefix}\.\([._a-zA-Z]*\)=\(.*\)$,\1=\2,p" + sed -n "s,^[ ]*${group}\.\([._a-zA-Z]*\)=\(.*\)$,\1=\2,p" } assert_key() { |