Ignore:
Timestamp:
2009-04-20T15:26:30+12:00 (15 years ago)
Author:
ak19
Message:

Some rudimentary steps to ensure that glisite.cfg, llssite.cfg and cgi-bin/gsdlsite.cfg are there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/makegs2.bat

    r18829 r19122  
    107107echo 2. Web library only
    108108echo 3. Both
    109 echo 4. Quit
     109echo 4. Set up configuration files (glisite.cfg, llssite.cfg, gsdlsite)
     110echo 5. Quit
    110111echo.
    111112echo Please choose a number from the menu. Otherwise both libraries will be compiled in 15 seconds.
    112113.\bin\windows\choice.exe /N /T:3,15 /C:1234
    113     IF errorlevel 4 GOTO END
     114    IF errorlevel 5 GOTO END
     115    IF errorlevel 4 GOTO ENDOK
    114116    IF errorlevel 3 GOTO WITHBOTH
    115117    IF errorlevel 2 GOTO WITHOUTLOCALLIB
     
    195197
    196198:ENDOK
     199if not exist llssite.cfg copy llssite.cfg.in llssite.cfg
     200if not exist glisite.cfg copy glisite.cfg.in glisite.cfg
     201if not exist cgi-bin\gsdlsite.cfg echo "Please replace the GSDLHOME placeholder in cgi-bin\gsdlsite.cfg with your GS2 installation path"
     202if not exist cgi-bin\gsdlsite.cfg copy cgi-bin\gsdlsite.cfg.in cgi-bin\gsdlsite.cfg
    197203echo.
    198204echo Done!
Note: See TracChangeset for help on using the changeset viewer.