diff --git a/kiss b/kiss index 857a4f9..b836d10 100755 --- a/kiss +++ b/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