source: gli/branches/rtl-gli/gsdlver.bat@ 21027

Last change on this file since 21027 was 18351, checked in by kjdon, 15 years ago

updated the rtl-gli branch with files from trunk. Result of a merge 14807:18318

File size: 333 bytes
Line 
1@echo off
2
3:: This batch script returns the version of greenstone that is running
4set _VERSION=1
5
6:: first parameter is the value of gsdlpath
7if exist %1\gs3-setup.bat set _VERSION=3
8if exist %1\setup.bat set _VERSION=2
9
10:: otherwise
11if "%_VERSION%" == "1" echo Error: can't determine which Greenstone version is being run.
Note: See TracBrowser for help on using the repository browser.