Changeset 27831

Show
Ignore:
Timestamp:
12.07.2013 18:20:49 (6 years ago)
Author:
ak19
Message:

Win GS2 setup.bat now checks whether GSDLHOME has already been set

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/setup.bat

    r24612 r27831  
    2020echo. 
    2121 
     22if "!GSDLHOME!" == "" goto start 
     23if "!GSDLHOME!" == "!CD!" ( 
     24    echo Your environment is already set up for Greenstone 
     25    goto done 
     26) 
     27 
     28:start 
    2229if "!OS!" == "Windows_NT" goto WinNT 
    2330if "!OS!" == "" goto Win95 
     
    147154:: test writability of GSDLHOME 
    148155@call "!GSDLHOME!\bin\script\checkwritability.bat" 
     156 
     157:done 
    149158popd 
    150159endlocal & set PATH=%PATH%& set GSDLHOME=%GSDLHOME%& set GSDLOS=%GSDLOS%