Skip to content

Commit

Permalink
Merge pull request #31155 from dotnet/infrastructure/fix-build
Browse files Browse the repository at this point in the history
Use RepoRoot instead of repoDir
  • Loading branch information
jmarolf authored Nov 14, 2018
2 parents cb7682d + 3af98f4 commit 23b2690
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/scripts/createrunsettings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ $ErrorActionPreference = "Stop"

try {
. (Join-Path $PSScriptRoot "build-utils.ps1")
Push-Location $repoDir
Push-Location $RepoRoot

Write-Host "Repo Dir $repoDir"
Write-Host "Repo Dir $RepoRoot"
Write-Host "Binaries Dir $binariesDir"

$buildConfiguration = if ($release) { "Release" } else { "Debug" }
$configDir = Join-Path (Join-Path $binariesDir "VSSetup") $buildConfiguration

$optProfToolDir = Get-PackageDir "Roslyn.OptProf.RunSettings.Generator"
$optProfToolExe = Join-Path $optProfToolDir "tools\roslyn.optprof.runsettings.generator.exe"
$configFile = Join-Path $repoDir "build\config\optprof.json"
$configFile = Join-Path $RepoRoot "build\config\optprof.json"
$outputFolder = Join-Path $configDir "Insertion\RunSettings"
$optProfArgs = "--configFile $configFile --outputFolder $outputFolder --buildNumber 28302.01 "

Expand Down

0 comments on commit 23b2690

Please sign in to comment.