make find actually portable
This commit is contained in:
parent
03cb6b431b
commit
e663630d39
2
flacconv
2
flacconv
|
@ -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!'
|
||||
|
||||
|
|
Loading…
Reference in New Issue