1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 08:30:05 -07:00

kiss: minor fixes

This commit is contained in:
Dylan Araps 2020-04-20 11:07:48 +03:00
parent 27e1a65b2b
commit c13a48dec2
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -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.