forked from kiss-community/kiss
kiss: unset variables early
This commit is contained in:
parent
4f715f678b
commit
b21d22964f
4
kiss
4
kiss
@ -336,9 +336,9 @@ pkg_cache() {
|
||||
pkg_source_resolve() {
|
||||
# Given a line of input from the sources file, return an absolute
|
||||
# path to the source if it already exists, error if not.
|
||||
ok "${2##\#*}" || { unset _res _des; return; }
|
||||
unset _res _des _fnr
|
||||
|
||||
unset _des
|
||||
ok "${2##\#*}" || return 0
|
||||
|
||||
# Surround each replacement with substitutions to handled escaped markers.
|
||||
# First substitution turns '\MARKER' into ' ' (can't appear in sources as
|
||||
|
Loading…
Reference in New Issue
Block a user