1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

Merge branch 'master' of github.com:kisslinux/kiss into master

This commit is contained in:
Dylan Araps 2020-09-14 14:34:44 +03:00
commit cb3d826bf0

8
kiss
View File

@ -131,13 +131,13 @@ pkg_find() {
set -- set --
# shellcheck disable=2086 # Globbing disabled for KISS_PATH word-splitting
for path in $KISS_PATH "${what:-"$sys_db"}"; do for path in $KISS_PATH "${what:-"$sys_db"}"; do
set +f set +f
for path2 in "$path/"$query; do # Globbing enabled for search.
test "${what:--d}" "$path2" || continue for path2 in "$path/"${query%%/*}; do
test "${what:--d}" "$path2" &&
set -f -- "$@" "$path2" set -f -- "$@" "$path2"
done done
done done