change the nunit detection code

remotes/origin/0.6.7-post-fixes
Sean Dague 2009-08-31 20:26:16 -04:00
parent 4333bc7742
commit 7e9b12ac80
1 changed files with 1 additions and 6 deletions

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>