Last change
on this file since 33302 was 15609, checked in by ak19, 16 years ago |
Helper batch files that act as subroutines for the modified gli.bat (as gli.bat now works for both GS2 and GS3)
|
File size:
333 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 | :: This batch script returns the version of greenstone that is running
|
---|
4 | set _VERSION=1
|
---|
5 |
|
---|
6 | :: first parameter is the value of gsdlpath
|
---|
7 | if exist %1\gs3-setup.bat set _VERSION=3
|
---|
8 | if exist %1\setup.bat set _VERSION=2
|
---|
9 |
|
---|
10 | :: otherwise
|
---|
11 | if "%_VERSION%" == "1" echo Error: can't determine which Greenstone version is being run. |
---|
Note:
See
TracBrowser
for help on using the repository browser.