Fix BSD compatibility

This commit is contained in:
Jacob 2023-08-03 05:02:08 +02:00
parent cf3cb69d58
commit 7c2d424af3

View file

@ -217,7 +217,7 @@ main() {
mk "$@"
# arg count, this is used many times so why not set it here
argc="$(printf "%s\n" "$@" | wc -l)"
argc="$(printf "%s\n" "$@" | grep -c '')"
case "$arg1" in
"install") arg=recognized && install_font "$@" && exit 0 || exit 1 ;;