Changeset 22015

Show
Ignore:
Timestamp:
03.05.2010 14:33:44 (9 years ago)
Author:
ak19
Message:

Fixed a problem with "setlocal enabledelayedexpansion that caused environment variables to become unset when the script ended"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/gs3-setup.bat

    r21988 r22015  
    11@echo off 
    2  
    3 setlocal enabledelayedexpansion 
    42 
    53set java_min_version=1.5.0_00 
     
    9492) 
    9593 
     94setlocal enabledelayedexpansion 
     95 
    9696if DEFINED FOUNDJAVAHOME  ( 
    9797  set JAVA_HOME=!FOUNDJAVAHOME! 
     
    154154) 
    155155echo. 
     156 
     157endlocal 
     158 
     159set PATH=%PATH% 
     160set GSDL3HOME=%GSDL3HOME% 
     161set GSDL3SRCHOME=%GSDL3SRCHOME% 
     162set JAVA_HOME=%JAVA_HOME% 
     163set JRE_HOME=%JRE_HOME% 
     164set ANT_HOME=%ANT_HOME% 
     165 
    156166:end