You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by js...@apache.org on 2005/12/19 00:47:09 UTC

svn commit: r357564 - /geronimo/branches/1.0/modules/scripts/src/resources/bin/startup.bat

Author: jsisson
Date: Sun Dec 18 15:46:58 2005
New Revision: 357564

URL: http://svn.apache.org/viewcvs?rev=357564&view=rev
Log:
GERONIMO-1385 - fix issue where startup.bat was echoing batch commands (merge from trunk)

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

Modified: geronimo/branches/1.0/modules/scripts/src/resources/bin/startup.bat
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/modules/scripts/src/resources/bin/startup.bat?rev=357564&r1=357563&r2=357564&view=diff
==============================================================================
--- geronimo/branches/1.0/modules/scripts/src/resources/bin/startup.bat (original)
+++ geronimo/branches/1.0/modules/scripts/src/resources/bin/startup.bat Sun Dec 18 15:46:58 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%