Compare commits

...

2 Commits

Author SHA1 Message Date
yosh e663630d39 make find actually portable 2023-10-11 20:16:19 -04:00
yosh 03cb6b431b bump version 2023-10-11 20:15:57 -04:00
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
VERSION=1.4.5
VERSION=1.4.6
RED="$(printf '\033[38;5;9m')"
GREEN="$(printf '\033[38;5;10m')"
YELLOW="$(printf '\033[38;5;11m')"
@ -251,6 +251,8 @@ fi
# I do not want to change it to account for this
# you should never put newlines in paths
# it is a very bad idea for many programs
# if no arg provided, cwd
[ "$#" -eq 0 ] && set -- .
FLACFILES="$(find "$@" -type f -name "*.[fF][lL][aA][cC]")"
[ -z "$FLACFILES" ] && fail 'no flac files found!'