Fix "--log=false" switch.

release-1.0.0
Icedream 2015-01-12 18:29:13 +01:00
parent cff22512f7
commit ca72246eff
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ namespace CitizenMP.Server.Installer
var slnPath = sourceDirectory.EnumerateFiles("*.sln", SearchOption.TopDirectoryOnly) var slnPath = sourceDirectory.EnumerateFiles("*.sln", SearchOption.TopDirectoryOnly)
.First().FullName; .First().FullName;
outputDirectory.Create(); outputDirectory.Create();
var logpath = Path.Combine(outputDirectory.FullName, "build.log"); var logpath = options.WriteLogFile ? Path.Combine(outputDirectory.FullName, "build.log") : null;
if (!Build(slnPath, new Dictionary<string, string> if (!Build(slnPath, new Dictionary<string, string>
{ {
{"Configuration", "Release"}, {"Configuration", "Release"},