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
|
# Both counts of word-splitting are intentional here. Firstly to split
|
||||||
# the repositories and secondly to allow for the query to be a glob.
|
# the repositories and secondly to allow for the query to be a glob.
|
||||||
# shellcheck disable=2086
|
# shellcheck disable=2086
|
||||||
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
|
for path2 in "$path/"$query; do
|
||||||
test "${what:--d}" "$path2" && set -f -- "$@" "$path2"
|
test "${what:--d}" "$path2" && set -f -- "$@" "$path2"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue