change the nunit detection code

This commit is contained in:
Sean Dague
2009-08-31 20:26:16 -04:00
parent 4333bc7742
commit 7e9b12ac80

View File

@@ -195,15 +195,10 @@
<arg value="nunit-console2" />
</exec>
<exec program="which" failonerror="false"
resultproperty="hasnunit">
<arg value="nunit-console" />
</exec>
<property name="nunitcmd" value="nunit-console2"
if="${int::parse(hasnunit2)==0}" />
<property name="nunitcmd" value="nunit-console"
if="${int::parse(hasnunit)==0}" />
if="${int::parse(hasnunit2)==1}" />
</target>