add darwin to list of supported os

This commit is contained in:
Rasmus Steinke 2016-07-28 17:37:59 +02:00
parent 77628775ac
commit ca218b32cc

View File

@ -7,6 +7,7 @@ basecommand=$(echo "$0" | gawk '{ print $1 }')
case "$OSTYPE" in case "$OSTYPE" in
*bsd*) GREP='/usr/local/bin/grep' ;; *bsd*) GREP='/usr/local/bin/grep' ;;
linux*) GREP='/usr/bin/grep' ;; linux*) GREP='/usr/bin/grep' ;;
darwin*) GREP='/usr/bin/ggrep' ;;
*) echo 'OS not supported, patches welcome' && exit 1 ;; *) echo 'OS not supported, patches welcome' && exit 1 ;;
esac esac