Show
Ignore:
Timestamp:
09.12.2009 16:51:22 (10 years ago)
Author:
davidb
Message:

setup now automatically runs gs2build's setup file if the directory is present

Files:
1 modified

Legend:

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

    r20824 r21320  
    5252set GS_CP_SET=yes 
    5353:skipSetCp 
     54 
     55:: ---- if gs2build is there, run its setup.bat file ---- 
     56 
     57if exist gs2build\setup.bat ( 
     58  echo. 
     59  echo Running gs2build\setup.bat 
     60  cd gs2build 
     61  call setup.bat  
     62  cd .. 
     63) 
     64 
     65:: ---- Check for any setup files in ext or local folders ---- 
     66if exist ext ( 
     67    for /D %%e IN ("ext/*") do ( 
     68        cd ext\%%e 
     69        if EXIST setup.bat call setup.bat 
     70        cd ..\.. 
     71    ) 
     72) 
     73 
     74 
     75if exist local\gs3-setup.bat ( 
     76  echo. 
     77  echo Running local\gs3-setup.bat 
     78  cd local 
     79  call gs3-setup.bat  
     80  cd .. 
     81) 
    5482 
    5583:: ---- Search for java ----