grails.sh
grails.sh copied to clipboard
On Windows Cygwin
Line 24: '=~' expression matchin breaks on Windows (Cygwin) apparently due to the lack of support for =~.
Replacing it with '==' works. I guess an exact match is the right compairsion here.
Sorry for the long delay in answering this. The regex match is necessary so the script can work with versions like 2.3.0.RC1. But cygwin should support =~ Look for it in man bash.
I don't have a cygwin installation to test it. If you can add a "set -x" on line 2 of the script (to enable debug) and send me the log, I can try to figure it out. Is your version of cygwin updated?