From 469c29f7f75776d544ab6b3fae0252ee9f30acae Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 23 Jun 2019 16:44:29 +0300 Subject: [PATCH] kiss: Fix issue with multiple repositories. --- kiss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index 64f6356..3e686f2 100755 --- a/kiss +++ b/kiss @@ -27,12 +27,13 @@ pkg_clean() { pkg_search() { set -f # shellcheck disable=2086,2046 - set -- "$1" $(IFS=: find $KISS_PATH -maxdepth 1 -name "$1") + set -- "$1" $(IFS=:; find $KISS_PATH -maxdepth 1 -name "$1") set +f [ -z "$2" ] && die "Package '$1' not in any repository." rep_dir=${2%/$1} + log "Found '$1' in '$rep_dir'" } pkg_setup() {