add darwin to list of supported os
This commit is contained in:
parent
77628775ac
commit
ca218b32cc
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user