summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-01 20:57:56 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-01 20:57:56 -0500
commita3e3f1fe086ad8709234934ca321eb87ccfd25ed (patch)
tree2b6242e6793805aed3f68fe9ebdbb43d510a4397 /src/lib
parent503517c61c64bb18dc64574b5b02fb973a110891 (diff)
conf.sh: Oops, a variable was blending with the surrounding string
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/conf.sh.in2
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
}