Title: [2614] trunk/openejb1/modules/core/src/bin/openejb.bat: Updated to properly work on Windows and Windows(Cygwin) by prepending the directory where the bat file was ran from to the command to properly parse.
Revision
2614
Author
jcscoobyrs
Date
2006-04-19 15:01:42 -0400 (Wed, 19 Apr 2006)

Log Message

Updated to properly work on Windows and Windows(Cygwin) by prepending the directory where the bat file was ran from to the command to properly parse.  Thanks to Mohammed Noir for pointing this out.

Modified Paths

Diff

Modified: trunk/openejb1/modules/core/src/bin/openejb.bat (2613 => 2614)

--- trunk/openejb1/modules/core/src/bin/openejb.bat	2006-04-19 16:24:38 UTC (rev 2613)
+++ trunk/openejb1/modules/core/src/bin/openejb.bat	2006-04-19 19:01:42 UTC (rev 2614)
@@ -18,7 +18,7 @@
 
 SETLOCAL
 
-SET COMMAND=%0
+SET COMMAND=%CD%/%0
 SET OPENEJB_HOME=%COMMAND:~0,-16%
 
 echo OPENEJB_HOME=%OPENEJB_HOME%

Reply via email to