Commit b0978874 authored by John A's avatar John A

Fix case error in reference to darwin

parent baf0197a
......@@ -48,7 +48,7 @@ changed=()
seed="$RANDOM"
# ensure MacOS compatibility with GNU getopt
if [[ "$OSTYPE" == 'Darwin'* ]]; then
if [[ "$OSTYPE" == 'darwin'* ]]; then
GGETOPT=/usr/local/Cellar/gnu-getopt/*/bin/getopt # should find gnu-getopt
if [ ! -x $GGETOPT ]; then # file is not executable
printf '%s\n' 'Error: Running on MacOS requires an executable gnu getopt.'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment