diff --git a/kiss b/kiss index a496989..90f5b4d 100755 --- a/kiss +++ b/kiss @@ -1350,7 +1350,7 @@ args() { set -- for path in $(KISS_PATH=$PATH pkg_find kiss-\* all); do - set -- "${path#*/kiss-}" "$@" + [ -x "$path" ] && set -- "${path#*/kiss-}" "$@" max=$((${#1} > max ? ${#1} : max)) done @@ -1386,7 +1386,7 @@ main() { # Force the C locale to speed up things like 'grep' which disable unicode # etc when this is set. We don't need unicode and a speed up is always # welcome. - export LC_ALL=C LANG=C + export LC_ALL=C # Catch errors and ensure that build files and directories are cleaned # up before we die. This occurs on 'Ctrl+C' as well as success and error.