kiss: Minor clean up

This commit is contained in:
Dylan Araps 2020-06-10 10:28:53 +03:00
parent 028652c45f
commit 3733eeacab
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -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