Changeset 20436
- Timestamp:
- 2009-08-28T22:03:21+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/gs2-server.bat
r20392 r20436 25 25 echo GS2 Home: %GSDLHOME% 26 26 27 ::goto autoset_gsdl_home %gsdl2path%28 29 27 :: Setup Greenstone2, unless it has already been done 30 if "%GSDLHOME%" == "" ( 31 pushd "%GSDLHOME%" 28 :: If either GSDLHOME or GSDLOS is not set, need to run setup.bat first 29 :: OR operations in an IF stmt: http://fixunix.com/ms-dos/21057-how-implement-if-condition-batch-file.html 30 for %%i in ("%GSDLOS%" "%GSDLHOME%") do if %%i == "" set OR=True 31 if "%OR%" == "True" ( 32 pushd "%gsdl2path%" 32 33 call setup.bat 34 echo **** GSDLOS: %GSDLOS% and GSDLHOME: %GSDLHOME% 33 35 popd 34 36 )
Note:
See TracChangeset
for help on using the changeset viewer.