Changeset 15199 for gli/trunk/gli.bat

Show
Ignore:
Timestamp:
17.04.2008 15:01:48 (12 years ago)
Author:
kjdon
Message:

if have found perl in the registry, then its not on the path. Add it to the path so that if you build lucene colls, then perl can be found

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/gli.bat

    r13027 r15199  
    9595set PERLPATH= 
    9696 
    97 :: Some users may set the above line manually 
     97:: Some users may set the above line manually - If you do this, you need to  
     98:: make sure that perl is in your path otherwise lucene collections may not  
     99:: work 
    98100if not "%PERLPATH%" == "" goto testPerl 
    99101 
     
    121123    if "%PERLPATH%" == "" goto noPerl 
    122124 
     125    :: if have found perl in registry, but not in path, then we need to  
     126    :: add it to path for lucene stuff. 
     127    if "%OS%" == "Windows_NT" set PATH=%PATH%;%PERLPATH% 
     128    if "%OS%" == "" set PATH="%PATH%";"%PERLPATH%" 
    123129    goto testPerl 
    124130 
    125131:gsdlPerl 
    126132    set PERLPATH=%GSDLHOME%\bin\windows\perl\bin 
    127  
     133         
    128134:testPerl 
    129135:: Check that a Perl executable has been found