Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #316 from chanwit/patch-1

Fixed for GRAILS-9778 - Cygwin shows empty path
  • Loading branch information...
commit 2700458842a54a5a2b559633fd50c73e80928779 2 parents 3f21bba + df8367e
@graemerocher graemerocher authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 grails-resources/src/grails/home/bash/startGrails
View
4 grails-resources/src/grails/home/bash/startGrails
@@ -275,7 +275,9 @@ if $cygwin; then
GRAILS_HOME=`cygpath --path --mixed "$GRAILS_HOME"`
JAVA_HOME=`cygpath --path --mixed "$JAVA_HOME"`
STARTER_CONF=`cygpath --path --mixed "$STARTER_CONF"`
- CP=`cygpath --path --mixed "$CP"`
+ if [ "x$CP" != "x" ] ; then
+ CP=`cygpath --path --mixed "$CP"`
+ fi
TOOLS_JAR=`cygpath --path --mixed "$TOOLS_JAR"`
STARTER_CLASSPATH=`cygpath --path --mixed "$STARTER_CLASSPATH"`
# We build the pattern for arguments to be converted via cygpath
Please sign in to comment.
Something went wrong with that request. Please try again.