From 04a795b7426b2104ff1c2d3419215cd9ce742c75 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 16 Jul 2021 15:38:24 +0300 Subject: [PATCH] misc: typo --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index bc6203b..da2a127 100755 --- a/kiss +++ b/kiss @@ -1721,7 +1721,7 @@ args() { # When no arguments are given on the command-line, use the basename of # the current directory as the package name and add the parent directory # to the running process' KISS_PATH. - case $# in 0) + case ${action%%"${action#?}"}-$# in [!l]-0) export KISS_PATH=${PWD%/*}:$KISS_PATH set -- "${PWD##*/}" esac