From 3af98f48a5e8838125c3db080fcc2c1829079953 Mon Sep 17 00:00:00 2001 From: Jonathon Marolf Date: Tue, 13 Nov 2018 15:15:42 -0800 Subject: [PATCH] Use RepoRoot instead of repoDir --- build/scripts/createrunsettings.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/scripts/createrunsettings.ps1 b/build/scripts/createrunsettings.ps1 index 6fd891d842c1f..0592a2a017d8d 100644 --- a/build/scripts/createrunsettings.ps1 +++ b/build/scripts/createrunsettings.ps1 @@ -7,9 +7,9 @@ $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" } @@ -17,7 +17,7 @@ try { $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 "