kiss: Use -- with set

This commit is contained in:
Dylan Araps 2020-03-11 18:29:37 +02:00
parent 18461ddedb
commit 70ffebbedc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -120,7 +120,7 @@ pkg_find() {
# '$KISS_PATH' as POSIX 'find' has no '-mindepth'/'-maxdepth'.
# See: https://unix.stackexchange.com/a/330372
IFS=:; set --
for path in $KISS_PATH; do set "$@" "$path/."; done
for path in $KISS_PATH; do set -- "$@" "$path/."; done
IFS=$old_ifs
# Find the repository containing a package.