diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-01 20:57:56 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-01 20:57:56 -0500 |
commit | a3e3f1fe086ad8709234934ca321eb87ccfd25ed (patch) | |
tree | 2b6242e6793805aed3f68fe9ebdbb43d510a4397 | |
parent | 503517c61c64bb18dc64574b5b02fb973a110891 (diff) |
conf.sh: Oops, a variable was blending with the surrounding string
-rw-r--r-- | src/lib/conf.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/conf.sh.in b/src/lib/conf.sh.in index 4f86f12..4ab5c84 100644 --- a/src/lib/conf.sh.in +++ b/src/lib/conf.sh.in @@ -198,7 +198,7 @@ unset_PKGBUILD() { mksource() { local v for v in "$@"; do - unset -v "$v" $(declare -p|sed -rn "s/^declare -\S+ ($v_[a-zA-Z0-9_]*)=.*/\1/p") + unset -v "$v" $(declare -p|sed -rn "s/^declare -\S+ (${v}_[a-zA-Z0-9_]*)=.*/\1/p") done } |