aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-11-13 01:02:57 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-11-13 01:02:57 +0000
commit9d19b7d16c52b1f05bc42d544043324324323614 (patch)
tree0ac936b45bde2dd762f332283a89d7e28b4043c1
parent22ff4fa55b1d3fe3857c5e6d47b5d95b481e4e06 (diff)
downloadcpt-9d19b7d16c52b1f05bc42d544043324324323614.tar.gz
kiss: don't find parents
FossilOrigin-Name: 5b9a6d0a1b06049160b402f26346358affb76c68e6d27c195f08807af15f943c
-rwxr-xr-xkiss5
1 files changed, 3 insertions, 2 deletions
diff --git a/kiss b/kiss
index b9c9caa..696651e 100755
--- a/kiss
+++ b/kiss
@@ -82,7 +82,8 @@ pkg_find() {
# from the repositories.
# See [1] at top of script.
# shellcheck disable=2046,2086
- set -- $(IFS=:; find $KISS_PATH "$sys_db" -maxdepth 1 -name "$1")
+ set -- $(IFS=:
+ find $KISS_PATH "$sys_db" -mindepth 1 -maxdepth 1 -name "$1")
# A package may also not be found due to a repository not being
# readable by the current user. Either way, we need to die here.
@@ -1027,7 +1028,7 @@ args() {
;;
v|version|-v|--version)
- log kiss 0.53.5
+ log kiss 0.53.6
;;
h|help|-h|--help|'')