grails.sh icon indicating copy to clipboard operation
grails.sh copied to clipboard

On Windows Cygwin

Open vikasbo opened this issue 12 years ago • 1 comments

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.

vikasbo avatar Apr 22 '13 08:04 vikasbo

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?

deluan avatar Jul 30 '13 21:07 deluan