mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
change the nunit detection code
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user