Workaround for nant on linux.

This commit is contained in:
the_fiddler 2007-06-30 08:12:47 +00:00
parent 0a5d09a9c0
commit 9d1fb03f8b
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)
{
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;