geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsis...@apache.org
Subject svn commit: r357562 - /geronimo/trunk/modules/scripts/src/resources/bin/startup.bat
Date Sun, 18 Dec 2005 23:42:51 GMT
Author: jsisson
Date: Sun Dec 18 15:42:40 2005
New Revision: 357562

URL: http://svn.apache.org/viewcvs?rev=357562&view=rev
Log:
GERONIMO-1385 - fix issue where startup.bat was echoing batch commands

Modified:
    geronimo/trunk/modules/scripts/src/resources/bin/startup.bat

Modified: geronimo/trunk/modules/scripts/src/resources/bin/startup.bat
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/scripts/src/resources/bin/startup.bat?rev=357562&r1=357561&r2=357562&view=diff
==============================================================================
--- geronimo/trunk/modules/scripts/src/resources/bin/startup.bat (original)
+++ geronimo/trunk/modules/scripts/src/resources/bin/startup.bat Sun Dec 18 15:42:40 2005
@@ -33,7 +33,16 @@
 @REM $Rev$ $Date$
 @REM --------------------------------------------------------------------
 
-if "%OS%" == "Windows_NT" setlocal
+@if "%GERONIMO_BATCH_ECHO%" == "on"  echo on
+@if not "%GERONIMO_BATCH_ECHO%" == "on"  echo off
+
+if "%OS%" == "Windows_NT" goto okOsCheck
+echo Cannot process Geronimo command - you are running an unsupported operating system.
+set ERRORLEVEL=1
+goto end
+
+:okOsCheck
+setlocal
 
 @REM Guess GERONIMO_HOME if not defined
 set CURRENT_DIR=%cd%



Mime
View raw message