Changeset 25640

Show
Ignore:
Timestamp:
23.05.2012 11:19:13 (7 years ago)
Author:
sjm84
Message:

Some fixes to perl.path for Linux (or maybe Windows?)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r25616 r25640  
    589589            </exec> 
    590590 
    591             <stringutil string="${full.perl.path}" property="perl.path"> 
    592                 <replace regex="\/[^\/]*$" replacement="" /> 
     591            <stringutil string="${full.perl.path}" property="partial.perl.path"> 
     592                <replace regex="\/[^\/]*$" replacement="/" /> 
     593            </stringutil> 
     594            <stringutil string="${partial.perl.path}" property="perl.path"> 
     595                <replace regex="\\[^\\]*$" replacement="\\" /> 
    593596            </stringutil> 
    594597            <if><bool><istrue value="${current.os.isunix}"/></bool>