forked from kiss-community/kiss
kiss: Minor clean up
This commit is contained in:
parent
028652c45f
commit
3733eeacab
4
kiss
4
kiss
@ -144,9 +144,7 @@ pkg_find() {
|
||||
# Both counts of word-splitting are intentional here. Firstly to split
|
||||
# the repositories and secondly to allow for the query to be a glob.
|
||||
# shellcheck disable=2086
|
||||
for path in $KISS_PATH "${what:-$sys_db}"; do
|
||||
set +f
|
||||
|
||||
for path in $KISS_PATH "${what:-$sys_db}"; do set +f
|
||||
for path2 in "$path/"$query; do
|
||||
test "${what:--d}" "$path2" && set -f -- "$@" "$path2"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user