Changeset 23941 for main/trunk/greenstone3
- Timestamp:
- 2011-04-21T14:59:26+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r23936 r23941 580 580 </exec> 581 581 582 <exec executable="where" os="${os.windows}" spawn="false" outputproperty="full.perl.path"> 582 <!-- DOS semi-equivalent of Linux which is "where" which returns lines of matches. 583 Use ant string functions to grab just the first line returned by the DOS where command. 584 Sadly, "where" is not supported by winXP. Using GNUwin32 port of Linux "which" instead.--> 585 <!--<exec executable="where" os="${os.windows}" spawn="false" outputproperty="full.perl.path"> 583 586 <arg value="perl" /> 584 587 </exec> 585 588 586 589 <if><bool><istrue value="${current.os.iswindows}"/></bool> 587 590 <stringutil string="${full.perl.path}" property="full.perl.path"> 588 591 <replace regex="[\n].*$" replacement="" /> 589 592 </stringutil> 590 </if> 593 </if>--> 594 <exec executable="${gs2build.home}/bin/windows/which" os="${os.windows}" spawn="false" outputproperty="full.perl.path"> 595 <arg value="perl" /> 596 </exec> 591 597 592 598 <stringutil string="${full.perl.path}" property="perl.path"> 593 599 <replace regex="\/[^\/]*$" replacement="" /> 594 600 </stringutil> 595 596 601 <if><bool><istrue value="${current.os.isunix}"/></bool> 597 602
Note:
See TracChangeset
for help on using the changeset viewer.