commit a81c46138f0a7f782390399619d258bab6183961
parent 2f88c47b8412565c2f182c5c20427e4cd554f7dc
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 13 Nov 2019 01:02:58 +0000
kiss: don't find parents
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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|'')