You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by cr...@locus.apache.org on 2000/10/16 21:13:19 UTC

cvs commit: jakarta-tomcat-4.0/catalina/src/bin shutdown.bat

craigmcc    00/10/16 12:13:17

  Modified:    catalina/src/bin shutdown.bat
  Log:
  Correct misplaced GOTO destination in the shutdown batch script.
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-tomcat-4.0/catalina/src/bin/shutdown.bat
  
  Index: shutdown.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/shutdown.bat,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- shutdown.bat	2000/10/16 18:50:57	1.3
  +++ shutdown.bat	2000/10/16 19:13:14	1.4
  @@ -2,18 +2,18 @@
   rem ---------------------------------------------------------------------------
   rem shutdown.bat - Stop Script for the CATALINA Server
   rem
  -rem $Id: shutdown.bat,v 1.3 2000/10/16 18:50:57 craigmcc Exp $
  +rem $Id: shutdown.bat,v 1.4 2000/10/16 19:13:14 craigmcc Exp $
   rem ---------------------------------------------------------------------------
   
   set _CATALINA_HOME=%CATALINA_HOME%
   if not "%CATALINA_HOME%" == "" goto gotCatalinaHome
   set CATALINA_HOME=.
  -:gotCatalinaHome
   if exist "%CATALINA_HOME%\bin\catalina.bat" goto gotCatalinaHome
   set CATALINA_HOME=..
   if exist "%CATALINA_HOME%\bin\catalina.bat" goto gotCatalinaHome
   echo Unable to determine the value of CATALINA_HOME
   goto cleanup
  +:gotCatalinaHome
   "%CATALINA_HOME%\bin\catalina" stop %1 %2 %3 %4 %5 %6 %7 %8 %9
   :cleanup
   set CATALINA_HOME=%_CATALINA_HOME%