Show
Ignore:
Timestamp:
06.04.2011 15:42:21 (9 years ago)
Author:
ak19
Message:

1. Slight adjustment to previous commit: the test is no longer for the existence of gs2build's build-src, but the existence of gs2build itself. If gs2build does not exist, then perl.path will be set to the empty string. 2. Previous commit: if, outside build.properties, we only set perl.path if we have gs2build/build-src (collection building), then we won't set perl.path in a (flax) binary, since it doesn't have build-src

Files:
1 modified

Legend:

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

    r23856 r23857  
    560560         is on environment PATH --> 
    561561    <!-- if, outside build.properties, we only set perl.path if we have gs2build/build-src (collection building), then we won't set perl.path in a (flax) binary, since it doesn't have build-src --> 
    562     <!--<if><bool><available file="${build.src.home}"/></bool>--> 
     562    <if><bool><available file="${gs2build.home}"/></bool> 
    563563 
    564564      <if><bool><not><isset property="perl.path"/></not></bool> 
     
    602602        </else> 
    603603      </if> 
    604     <!-- </if>--> 
     604 
     605      <!-- gs2build not available, perl.path --> 
     606      <else> 
     607    <property name="perl.path" value=""/> 
     608      </else> 
     609    </if> 
    605610  </target> 
    606611