From 2747f06eb7af274d8323c6a8bc2d651cbe2fcbc1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 12 Feb 2007 05:43:14 +0000 Subject: [PATCH] totally wrong place, i'm stupid --bail --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40474 --- tools/builder/LinuxBuilder.cs | 11 ++++++----- tools/builder/Win32Builder.cs | 10 +++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/tools/builder/LinuxBuilder.cs b/tools/builder/LinuxBuilder.cs index 02532f6b..a352bdb9 100644 --- a/tools/builder/LinuxBuilder.cs +++ b/tools/builder/LinuxBuilder.cs @@ -29,11 +29,6 @@ namespace builder info.Arguments = "zcvf \"" + name + "\" \"" + ltarget + "\""; info.UseShellExecute = false; - if (cfg.BuildOptions != null) - { - info.Arguments += " " + cfg.BuildOptions; - } - Process p = Process.Start(info); p.WaitForExit(); @@ -96,6 +91,12 @@ namespace builder info.FileName = cfg.BuilderPath; info.Arguments = ""; info.UseShellExecute = false; + + if (cfg.BuildOptions != null) + { + info.Arguments += " " + cfg.BuildOptions; + } + p = Process.Start(info); p.WaitForExit(); p.Close(); diff --git a/tools/builder/Win32Builder.cs b/tools/builder/Win32Builder.cs index cb758f44..ed0a082a 100644 --- a/tools/builder/Win32Builder.cs +++ b/tools/builder/Win32Builder.cs @@ -29,11 +29,6 @@ namespace builder info.Arguments = "-r \"" + name + "\" \"" + ltarget + "\""; info.UseShellExecute = false; - if (cfg.BuildOptions != null) - { - info.Arguments += " " + cfg.BuildOptions; - } - Process p = Process.Start(info); p.WaitForExit(); @@ -83,6 +78,11 @@ namespace builder info.Arguments = "/rebuild " + lib.ReleaseBuild + " " + projectFile; info.UseShellExecute = false; + if (cfg.BuildOptions != null) + { + info.Arguments += " " + cfg.BuildOptions; + } + Process p = Process.Start(info); p.WaitForExit(); p.Close();