Added ggrep detection for OSX

This commit is contained in:
Travis Neeley 2017-10-09 18:09:43 -05:00
parent 05274634d4
commit c500062c96

View File

@ -5,6 +5,7 @@ set -o errexit -o noclobber -o nounset -o pipefail
codec=libmp3lame codec=libmp3lame
extension=mp3 extension=mp3
mode=chaptered mode=chaptered
grep=$(grep --version | grep -q GNU && echo "grep" || echo "ggrep")
if [ "$#" -eq 0 ]; then if [ "$#" -eq 0 ]; then
echo "Usage: bash AAXtoMP3.sh [--flac] [--single] AUTHCODE {FILES}" echo "Usage: bash AAXtoMP3.sh [--flac] [--single] AUTHCODE {FILES}"