Workaround for nant on linux.
This commit is contained in:
parent
9a1f938929
commit
c02291dc03
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)
|
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;
|
||||||
|
|
Loading…
Reference in a new issue