summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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
}