summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-01 21:03:24 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-01 21:03:24 -0500
commit3f0d656e1fd1d6fde1fe46ecad7de88d600a488f (patch)
tree0653abf7be49d8db2a07c75566b26e35592d85d8 /src
parent32558bb31bbd839ddb93409d0ac7abf9375087ee (diff)
conf.sh: add a comment
Diffstat (limited to 'src')
-rw-r--r--src/lib/conf.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/conf.sh.in b/src/lib/conf.sh.in
index 8fae514..8042f8f 100644
--- a/src/lib/conf.sh.in
+++ b/src/lib/conf.sh.in
@@ -196,6 +196,7 @@ unset_PKGBUILD() {
# of a function that we get to unset anyway. So it can't
# clash with anything!
mksource() {
+ # For each arg, `unset -v` all variables matching ${arg} and ${arg}_*
local v
for v in "$@"; do
unset -v "$v" $(declare -p|sed -rn "s/^declare -\S+ (${v}_[a-zA-Z0-9_]*)=.*/\1/p")