aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-23 13:44:28 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-23 13:44:28 +0000
commite70680b85e8d702835dca5d8d86fcf028797a827 (patch)
tree874de1f03c3a4c1b3421eced0f26d75515c10eff /kiss
parente45cef2cd29ae924c496f44079fc5c6e50ca2820 (diff)
downloadcpt-e70680b85e8d702835dca5d8d86fcf028797a827.tar.gz
kiss: Fix issue with multiple repositories.
FossilOrigin-Name: a526f74509ae8e82b883d33f46cdd4da6b7c74936af4c5b86a4fd734368d49a3
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
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() {