Changeset 5022


Ignore:
Timestamp:
2003-07-24T17:19:04+12:00 (21 years ago)
Author:
mdewsnip
Message:

Added some nastiness to handle calling setup.bat properly under Windows 95/98.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/gli.bat

    r5021 r5022  
    55
    66:: This script must be run from within the directory in which it lives
    7 if exist gli.bat goto findGSDL
     7if exist gli.bat goto start
    88    echo This script must be run from the directory in which it resides.
    99    goto exit
     10
     11:start
     12if "%OS%" == "Windows_NT" goto findGSDL
     13    :: Invoke a new command processor to ensure there's enough environment space
     14    if "%1" == "Second" goto findGSDL
     15        command /E:2048 /C %0 Second %1 %2 %3 %4 %5 %6 %7 %8 %9
     16        goto done
    1017
    1118
     
    3643:: Setup Greenstone, unless it has already been done
    3744if not "%GSDLHOME%" == "" goto doneGSDL
    38     call "%GSDLPATH%\setup.bat" > nul
     45    call "%GSDLPATH%\setup.bat" SetEnv > nul
    3946
    4047:doneGSDL
     
    177184set PERLPATH=
    178185set JAVAPATH=
     186
     187:done
Note: See TracChangeset for help on using the changeset viewer.