kiss: don't find parents

This commit is contained in:
Dylan Araps 2019-11-13 01:02:58 +00:00
parent 2f88c47b84
commit a81c46138f
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 2 deletions

5
kiss
View File

@ -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|'')