Workaround for nant on linux.
This commit is contained in:
parent
0a5d09a9c0
commit
9d1fb03f8b
2 changed files with 1 additions and 1 deletions
BIN
Build/Build.exe
BIN
Build/Build.exe
Binary file not shown.
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue