Changeset 22084
- Timestamp:
- 2010-05-13T17:36:15+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/gs2-server.bat
r21966 r22084 164 164 165 165 :: Store all parameters together in config file var: we may or may not have a portnumber 166 :: Get everything after the "--quit =", if anything, and store it in port var. If no port, nothing to do.166 :: Get everything after the "--quitport=", if anything, and store it in port var. If no port, nothing to do. 167 167 set conf=%* 168 if "%conf%" == "" goto :runit 169 168 170 set port=%conf:*--quitport=% 169 171 if "%conf%" == "%port%" ( … … 205 207 :: Both are stored in %conf% now. If the config file is glisite.cfg, then this script was launched through 206 208 :: GLI and would have opened a DOS console. Need to exit from this script then to close the console. 207 :: Remove --config= prefix and do a case insensitive comparison, since filepaths can have uppercase chars 209 :: Remove --config=prefix and do a case insensitive comparison, since filepaths can have uppercase chars 210 if "%conf%" == "" goto exit 208 211 if /i "%conf:~9%" == "%GSDLHOME%\glisite.cfg" goto quitcmd 209 212 goto exit
Note:
See TracChangeset
for help on using the changeset viewer.