diff options
author | Sean Dague | 2009-08-31 20:26:16 -0400 |
---|---|---|
committer | Sean Dague | 2009-08-31 20:26:16 -0400 |
commit | 7e9b12ac807510536baa4e86427db25c261ded53 (patch) | |
tree | b3bc765860e2f58eb1e74f9d78fc7953a43a5b6e /.nant/local.include | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-7e9b12ac807510536baa4e86427db25c261ded53.zip opensim-SC-7e9b12ac807510536baa4e86427db25c261ded53.tar.gz opensim-SC-7e9b12ac807510536baa4e86427db25c261ded53.tar.bz2 opensim-SC-7e9b12ac807510536baa4e86427db25c261ded53.tar.xz |
change the nunit detection code
Diffstat (limited to '.nant/local.include')
-rw-r--r-- | .nant/local.include | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/.nant/local.include b/.nant/local.include index eaccfdd..510bdc6 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -195,15 +195,10 @@ | |||
195 | <arg value="nunit-console2" /> | 195 | <arg value="nunit-console2" /> |
196 | </exec> | 196 | </exec> |
197 | 197 | ||
198 | <exec program="which" failonerror="false" | ||
199 | resultproperty="hasnunit"> | ||
200 | <arg value="nunit-console" /> | ||
201 | </exec> | ||
202 | |||
203 | <property name="nunitcmd" value="nunit-console2" | 198 | <property name="nunitcmd" value="nunit-console2" |
204 | if="${int::parse(hasnunit2)==0}" /> | 199 | if="${int::parse(hasnunit2)==0}" /> |
205 | <property name="nunitcmd" value="nunit-console" | 200 | <property name="nunitcmd" value="nunit-console" |
206 | if="${int::parse(hasnunit)==0}" /> | 201 | if="${int::parse(hasnunit2)==1}" /> |
207 | 202 | ||
208 | </target> | 203 | </target> |
209 | 204 | ||