[jboss-cvs] JBossAS SVN: r111635 - branches/JBPAPP_5_1/main/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 16 15:40:52 EDT 2011
Author: dcheung
Date: 2011-06-16 15:40:52 -0400 (Thu, 16 Jun 2011)
New Revision: 111635
Modified:
branches/JBPAPP_5_1/main/src/bin/run.bat
Log:
Fixed JBPAPP-6627. Server does not start if it is installed to the default directory on Windows.
Modified: branches/JBPAPP_5_1/main/src/bin/run.bat
===================================================================
--- branches/JBPAPP_5_1/main/src/bin/run.bat 2011-06-16 14:12:26 UTC (rev 111634)
+++ branches/JBPAPP_5_1/main/src/bin/run.bat 2011-06-16 19:40:52 UTC (rev 111635)
@@ -6,10 +6,10 @@
rem $Id$
@if not "%ECHO%" == "" echo %ECHO%
- at if "%OS%" == "Windows_NT" setlocal
+ at if "%OS%" == "Windows_NT" setlocal enableextensions enabledelayedexpansion
if "%OS%" == "Windows_NT" (
- set "DIRNAME=%~dp0%"
+ set "DIRNAME=!~dp0!"
) else (
set DIRNAME=.\
)
More information about the jboss-cvs-commits
mailing list