totally wrong place, i'm stupid --bail
authorDavid Anderson <dvander@alliedmods.net>
Mon Feb 12 05:43:14 2007 +0000 (2007-02-12)
changeset 468e88b65aad7e1
parent 467 8192f64d8f57
child 469 e9a53be35abd
totally wrong place, i'm stupid --bail
tools/builder/LinuxBuilder.cs
tools/builder/Win32Builder.cs
     1.1 --- a/tools/builder/LinuxBuilder.cs	Mon Feb 12 05:13:53 2007 +0000
     1.2 +++ b/tools/builder/LinuxBuilder.cs	Mon Feb 12 05:43:14 2007 +0000
     1.3 @@ -29,11 +29,6 @@
     1.4  			info.Arguments = "zcvf \"" + name + "\" \"" + ltarget + "\"";
     1.5  			info.UseShellExecute = false;
     1.6  
     1.7 -			if (cfg.BuildOptions != null)
     1.8 -			{
     1.9 -				info.Arguments += " " + cfg.BuildOptions;
    1.10 -			}
    1.11 -
    1.12  			Process p = Process.Start(info);
    1.13  			p.WaitForExit();
    1.14  
    1.15 @@ -96,6 +91,12 @@
    1.16  			info.FileName = cfg.BuilderPath;
    1.17  			info.Arguments = "";
    1.18  			info.UseShellExecute = false;
    1.19 +
    1.20 +			if (cfg.BuildOptions != null)
    1.21 +			{
    1.22 +				info.Arguments += " " + cfg.BuildOptions;
    1.23 +			}
    1.24 +
    1.25  			p = Process.Start(info);
    1.26  			p.WaitForExit();
    1.27  			p.Close();
     2.1 --- a/tools/builder/Win32Builder.cs	Mon Feb 12 05:13:53 2007 +0000
     2.2 +++ b/tools/builder/Win32Builder.cs	Mon Feb 12 05:43:14 2007 +0000
     2.3 @@ -29,11 +29,6 @@
     2.4  			info.Arguments = "-r \"" + name + "\" \"" + ltarget + "\"";
     2.5  			info.UseShellExecute = false;
     2.6  
     2.7 -			if (cfg.BuildOptions != null)
     2.8 -			{
     2.9 -				info.Arguments += " " + cfg.BuildOptions;
    2.10 -			}
    2.11 -
    2.12  			Process p = Process.Start(info);
    2.13  			p.WaitForExit();
    2.14  
    2.15 @@ -83,6 +78,11 @@
    2.16  			info.Arguments = "/rebuild " + lib.ReleaseBuild + " " + projectFile;
    2.17  			info.UseShellExecute = false;
    2.18  
    2.19 +			if (cfg.BuildOptions != null)
    2.20 +			{
    2.21 +				info.Arguments += " " + cfg.BuildOptions;
    2.22 +			}
    2.23 +
    2.24  			Process p = Process.Start(info);
    2.25  			p.WaitForExit();
    2.26  			p.Close();