$ bash run.sh
: command not found
: command not found
run.sh: line 15: syntax error near unexpected token `elif'
run.sh: line 15: `elif [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]]; then
Windows-style line endings (CRLF) in the script prevent Bash on macOS from interpreting it correctly.
Windows-style line endings (CRLF) in the script prevent Bash on macOS from interpreting it correctly.