kiss: Use -- with set
This commit is contained in:
parent
18461ddedb
commit
70ffebbedc
2
kiss
2
kiss
|
@ -120,7 +120,7 @@ pkg_find() {
|
||||||
# '$KISS_PATH' as POSIX 'find' has no '-mindepth'/'-maxdepth'.
|
# '$KISS_PATH' as POSIX 'find' has no '-mindepth'/'-maxdepth'.
|
||||||
# See: https://unix.stackexchange.com/a/330372
|
# See: https://unix.stackexchange.com/a/330372
|
||||||
IFS=:; set --
|
IFS=:; set --
|
||||||
for path in $KISS_PATH; do set "$@" "$path/."; done
|
for path in $KISS_PATH; do set -- "$@" "$path/."; done
|
||||||
IFS=$old_ifs
|
IFS=$old_ifs
|
||||||
|
|
||||||
# Find the repository containing a package.
|
# Find the repository containing a package.
|
||||||
|
|
Loading…
Reference in New Issue