aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-11 16:29:37 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-11 16:29:37 +0000
commit9a118572a7d578aae80452271b467d56ae23dbd7 (patch)
tree22ae00f58c751dbf40fc9100b112478aa3230a2a
parent3664e0d91881fe98a86a53b623c14c4b0d28e45b (diff)
downloadcpt-9a118572a7d578aae80452271b467d56ae23dbd7.tar.gz
kiss: Use -- with set
FossilOrigin-Name: 3baf38adc0d8a87d66107d20f290d67aa22a4a8f1c0309d9780cf5ec99e3c387
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index a12e648..4b94fa9 100755
--- a/kiss
+++ b/kiss
@@ -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.