From c733283b90f512c884cece252297de572371f308 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 22 Feb 2008 14:32:08 +0000 Subject: [PATCH] more fixes for build tool --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401886 --- tools/builder/LinuxBuilder.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/builder/LinuxBuilder.cs b/tools/builder/LinuxBuilder.cs index c843bd21..9de45697 100644 --- a/tools/builder/LinuxBuilder.cs +++ b/tools/builder/LinuxBuilder.cs @@ -49,7 +49,7 @@ namespace builder File.Delete(binpath); } - string makefile_args = null; + string makefile_args = ""; if (lib.build_mode == BuildMode.BuildMode_Episode1) { @@ -58,10 +58,12 @@ namespace builder else if (lib.build_mode == BuildMode.BuildMode_Episode2) { makefile_args = "ENGINE=\"orangebox\""; + binpath += ".orangebox"; } else if (lib.build_mode == BuildMode.BuildMode_OldMetamod) { makefile_args = "ENGINE=\"original\""; + binpath += ".original"; } /* Clean the project first */ @@ -77,7 +79,7 @@ namespace builder /* Now build it */ info.WorkingDirectory = path; info.FileName = cfg.builder_path; - info.Arguments = makefile_args + " clean"; + info.Arguments = makefile_args; info.UseShellExecute = false; if (cfg.build_options != null)