geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r539223 - /geronimo/sandbox/gshell/trunk/gshell-assembly/src/main/scripts/gsh
Date Fri, 18 May 2007 02:41:34 GMT
Author: jdillon
Date: Thu May 17 19:41:33 2007
New Revision: 539223

URL: http://svn.apache.org/viewvc?view=rev&rev=539223
Log:
Need to translate the boot jar for cygwin

Modified:
    geronimo/sandbox/gshell/trunk/gshell-assembly/src/main/scripts/gsh

Modified: geronimo/sandbox/gshell/trunk/gshell-assembly/src/main/scripts/gsh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-assembly/src/main/scripts/gsh?view=diff&rev=539223&r1=539222&r2=539223
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-assembly/src/main/scripts/gsh (original)
+++ geronimo/sandbox/gshell/trunk/gshell-assembly/src/main/scripts/gsh Thu May 17 19:41:33
2007
@@ -54,6 +54,11 @@
     fi
 fi
 
+BOOTJAR="$GSHELL_HOME/lib/boot/gshell-bootstrap.jar"
+if $cygwin ; then
+    BOOTJAR=`cygpath --windows "$BOOTJAR"`
+fi
+
 # Start the JVM
-exec "$JAVACMD" $JAVA_OPTS -jar "$GSHELL_HOME/lib/boot/gshell-bootstrap.jar" "$@"
+exec "$JAVACMD" $JAVA_OPTS -jar "$BOOTJAR" "$@"
 



Mime
View raw message