Skip to content

Commit

Permalink
[MERGE #2204 @dilijev] MicroBuild v2: Fix logic in run_build.ps1 to c…
Browse files Browse the repository at this point in the history
…orrectly use the provided value of $binpath if it is provided.

Merge pull request #2204 from dilijev:mbv2
  • Loading branch information
dilijev committed Dec 16, 2016
2 parents fc7ea25 + 6251c65 commit 8df95e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/scripts/run_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ $buildlogsPath = Join-Path $binDir $buildlogsSubdir

$skipPogo = $skipPogo -or (Test-Path Env:\SKIP_POGO)

if (("$binpath" -ne "") -or (-not (Test-Path $binpath))) {
# if $binpath is not set or if it is an invalid path, then infer it
if ((-not $binpath) -or (-not (Test-Path $binpath))) {
$binpath = Join-Path $binDir "bin\${buildName}"
}

Expand Down

0 comments on commit 8df95e1

Please sign in to comment.