diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-01 21:03:24 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-01 21:03:24 -0500 |
commit | 3f0d656e1fd1d6fde1fe46ecad7de88d600a488f (patch) | |
tree | 0653abf7be49d8db2a07c75566b26e35592d85d8 /src/lib | |
parent | 32558bb31bbd839ddb93409d0ac7abf9375087ee (diff) |
conf.sh: add a comment
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/conf.sh.in | 1 |
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") |