Skip to content

Commit f16e0e3

Browse files
fix binlog generation
1 parent 03350fc commit f16e0e3

File tree

2 files changed

+430
-2
lines changed

2 files changed

+430
-2
lines changed

build/build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ function AddLogCmd([string] $logName, [string[]] $extraArgs)
349349

350350
if ($ci -or $log) {
351351
Create-Directory $LogDir
352-
$extraArgs = $extraArgs + ("/bl:" + (Join-Path $LogDir "$logName.binlog"))
352+
$extraArgs = $extraArgs + "/bl:$LogDir\$logName.binlog"
353353

354354
# When running under CI, also create a text log, so it can be viewed in the Jenkins UI
355355
if ($ci) {
356-
$extraArgs = $extraArgs + ("/flp:Verbosity=diag;LogFile=" + '"' + (Join-Path $LogDir "$logName.log") + '"')
356+
$extraArgs = $extraArgs + "/flp:Verbosity=diag;LogFile=`"$LogDir\$logName.log`""
357357
}
358358
}
359359

0 commit comments

Comments
 (0)