Workaround for nant on linux.

This commit is contained in:
the_fiddler 2007-06-30 08:12:47 +00:00
parent 9a1f938929
commit c02291dc03
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -290,7 +290,7 @@ namespace OpenTK.Build
static void ExecuteProcess(string path, string args) static void ExecuteProcess(string path, string args)
{ {
Process p = new Process(); 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.FileName = "mono";
p.StartInfo.Arguments = path + " " + args; p.StartInfo.Arguments = path + " " + args;