Changeset 15628

Show
Ignore:
Timestamp:
22.05.2008 12:23:52 (11 years ago)
Author:
ak19
Message:

Removed the debugging output statements and some minor changes to unset GS3 env variables when running GS2

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.bat

    r15608 r15628  
    7777call gsdlver.bat %GSDLPATH% %_VERSION% SetEnv > nul 
    7878if "%_VERSION%" == "1" goto exit 
     79::if we are running GS2, free up any pre-set GS3 environment variables since we won't need them 
     80if "%_VERSION%" == "2" set GSDL3SRCHOME= 
     81if "%_VERSION%" == "2" set GSDL3HOME= 
    7982goto testGSDL 
    8083 
     
    9699set _VERSION=2 
    97100set GSDLPATH=%GSDLHOME% 
     101::free up the GS3 environment variables since we are running GS2 and don't need them 
     102set GSDL3SRCHOME= 
     103set GSDL3HOME= 
    98104goto testGSDL 
    99105 
     
    364370:: ---- Finally, run the GLI ---- 
    365371echo. 
    366 echo ****gsdlhome is %GSDLHOME% 
    367 echo ****gsdl3home is %GSDL3HOME% 
    368 echo ****gsdl3srchome is %GSDL3SRCHOME% 
     372if not "%_VERSION%" == "" echo Running on Greenstone version %_VERSION% 
     373if not "%GSDL3SRCHOME%" == "" echo GSDL3SRCHOME is %GSDL3SRCHOME% 
     374if not "%GSDL3HOME%" == "" echo GSDL3HOME is %GSDL3HOME% 
     375if not "%GSDLHOME%" == "" echo GSDLHOME is %GSDLHOME% 
     376echo. 
    369377 
    370378if "%GLILANG%" == "en" echo Running the Greenstone Librarian Interface...