Changeset 22015


Ignore:
Timestamp:
2010-05-03T14:33:44+12:00 (11 years ago)
Author:
ak19
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.