Changeset 23896 for main/trunk/greenstone3/build.xml
- Timestamp:
- 2011-04-11T17:16:13+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r23857 r23896 574 574 <else> 575 575 <echo> 576 Using PATH enviro ment variable to locate Perl.576 Using PATH environment variable to locate Perl. 577 577 </echo> 578 578 <exec executable="which" os="${os.unix}" spawn="false" outputproperty="full.perl.path"> … … 580 580 </exec> 581 581 582 <exec executable="where" os="${os.windows}" spawn="false" outputproperty="full.perl.path"> 583 <arg value="perl" /> 584 </exec> 585 586 <if><bool><istrue value="${current.os.iswindows}"/></bool> 587 <stringutil string="${full.perl.path}" property="full.perl.path"> 588 <replace regex="[\n].*$" replacement="" /> 589 </stringutil> 590 </if> 591 582 592 <stringutil string="${full.perl.path}" property="perl.path"> 583 <replace regex="\/[^\/]*$" replacement="" />593 <replace regex="\/[^\/]*$" replacement="" /> 584 594 </stringutil> 585 595 586 <if><bool><not><equals arg1="${full.perl.path}" arg2="/usr/bin/perl"/></not></bool> 587 <echo> 596 <if><bool><istrue value="${current.os.isunix}"/></bool> 597 598 <if><bool><not><equals arg1="${full.perl.path}" arg2="/usr/bin/perl"/></not></bool> 599 <echo> 588 600 Non-standard location of Perl found: ${full.perl.path} 589 601 Set the environment variable PERLPATH or the perl.path property in 590 602 build.properties to explicitly control the version of Perl used. 591 </echo> 603 </echo> 604 </if> 592 605 </if> 593 606 </else>
Note:
See TracChangeset
for help on using the changeset viewer.