diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-23 13:44:28 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-23 13:44:28 +0000 |
commit | e70680b85e8d702835dca5d8d86fcf028797a827 (patch) | |
tree | 874de1f03c3a4c1b3421eced0f26d75515c10eff | |
parent | e45cef2cd29ae924c496f44079fc5c6e50ca2820 (diff) | |
download | cpt-e70680b85e8d702835dca5d8d86fcf028797a827.tar.gz |
kiss: Fix issue with multiple repositories.
FossilOrigin-Name: a526f74509ae8e82b883d33f46cdd4da6b7c74936af4c5b86a4fd734368d49a3
-rwxr-xr-x | kiss | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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() { |