Browse Source

accept sh.exe from env.Path as well as from env.PATH to be able to run the tests

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1095784 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 14 years ago
parent
commit
a260fdb09e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/etc/testcases/taskdefs/exec/exec.xml

+ 2
- 0
src/etc/testcases/taskdefs/exec/exec.xml View File

@@ -28,6 +28,8 @@
<available file="sh" filepath="${env.PATH}" property="sh.executable"/>
<!-- CYGWIN -->
<available file="sh.exe" filepath="${env.PATH}" property="sh.exe.executable"/>
<!-- WINDOWS + CYGWIN -->
<available file="sh.exe" filepath="${env.Path}" property="sh.exe.executable"/>
<condition property="test.can.run">
<or>
<isset property="sh.executable"/>


Loading…
Cancel
Save