From 9d1fb03f8ba3c894d1b4524ff820412473ca5678 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 30 Jun 2007 08:12:47 +0000 Subject: [PATCH] Workaround for nant on linux. --- Build/Build.exe | Bin 20480 -> 20480 bytes Source/Build/Build.cs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Build.exe b/Build/Build.exe index dcc93df10cfa64228a64e8ee6090410d8d1eab9a..e840dcc1a1c42b9de57f6d97543e2c5a06ddf513 100644 GIT binary patch delta 742 zcmYjPTS!!45dP-up0j1Pu8OXg%~f_yZ9UtzmsGl}>#mvvv9&2A1}TMz%O2B(EK2QW zb^$va3W+2u0u2h}(97ma^pen11l=Bj9?FNngr1C`SufbY%zX3B{BzFC|Bp=3$Q0ck z69N|XMu|`oRG+q)-|PosV5tWt1hp(T^8}E|ag-A_ZHcP2V^l#-{UQyUOA+J@%K=sa zA}lUGm?4nt`H+IuJz8T}xg6oFUj29Wti5eFHUuh@FFvp6a)U>4ot1^R@m z;w|)GTs+In9nEELwU3b-xlq{_;~qUmFZSXUenO%eIz*SW2llAGWY0G^LyaMCAYAK{ z8$u0X+3%|f%e6Ii5!vhW`ure-vc<~){_h$0Ab1HhK#JVHWlBvcf*WJ-X9uCa+E zd5@-p)4Gw{T&OE%3w=^FOfS>$jXqVfYcmlGq+Xk8mYWN#g+jd`OBCe2=!wr)**wtHDHb}b}*kEdtCi=VzMPEAZR^?~a=vVY=nF>XkQwIw;S zezFKXmk8bdu~;Y;HC@P^c0NBev!6Zr`0jHD$Htqxw|yu+DDA878n!F7W^UE5)NWU~ YmU6t$*;Rw|w}OLCwX*9+g(8*w2hHo9fdBvi diff --git a/Source/Build/Build.cs b/Source/Build/Build.cs index e881e19c..8297adc9 100644 --- a/Source/Build/Build.cs +++ b/Source/Build/Build.cs @@ -290,7 +290,7 @@ namespace OpenTK.Build static void ExecuteProcess(string path, string args) { Process p = new Process(); - if (Environment.OSVersion.Platform == PlatformID.Unix) + if (Environment.OSVersion.Platform == PlatformID.Unix && !path.ToLower().Contains("nant")) { p.StartInfo.FileName = "mono"; p.StartInfo.Arguments = path + " " + args;