consistency
This commit is contained in:
parent
5138132c46
commit
d3b192d4f5
4
flacconv
4
flacconv
|
@ -168,7 +168,7 @@ process_file() {
|
|||
|
||||
[ -n "${pic:-}" ] && rm -f "$pic"
|
||||
[ -n "$DELETE" ] && rm -f "$infile"
|
||||
[ -n "${err:-}" ] || errecho "$infile ${GREEN}successfully converted to ${RESET}$TYPE${GREEN} with bitrate/quality ${RESET}${VLVL:+V}${VLVL:-${BITRATE}k}"
|
||||
[ -z "${err:-}" ] && errecho "$infile ${GREEN}successfully converted to ${RESET}$TYPE${GREEN} with bitrate/quality ${RESET}${VLVL:+V}${VLVL:-${BITRATE}k}"
|
||||
}
|
||||
|
||||
usage() {
|
||||
|
@ -258,7 +258,7 @@ fi
|
|||
# you should never put newlines in paths
|
||||
# it is a very bad idea for many programs
|
||||
FLACFILES="$(find "$@" -type f -name "*.[fF][lL][aA][cC]")"
|
||||
[ -n "$FLACFILES" ] || fail 'no flac files found!'
|
||||
[ -z "$FLACFILES" ] && fail 'no flac files found!'
|
||||
|
||||
# make a fifo/fd for parallel stuff
|
||||
mk_parallel_fd() {
|
||||
|
|
Loading…
Reference in New Issue