From a3e3f1fe086ad8709234934ca321eb87ccfd25ed Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 1 Jan 2015 20:57:56 -0500 Subject: conf.sh: Oops, a variable was blending with the surrounding string --- src/lib/conf.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-54-g00ecf