diff --git a/eng/common/scripts/common.ps1 b/eng/common/scripts/common.ps1 index f8fda7e06e..6bef283e44 100644 --- a/eng/common/scripts/common.ps1 +++ b/eng/common/scripts/common.ps1 @@ -1,6 +1,6 @@ # cSpell:ignore Apireview # cSpell:ignore Onboarded -$RepoRoot = Resolve-Path "${PSScriptRoot}..\..\..\.." +$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot .. .. ..) $EngDir = Join-Path $RepoRoot "eng" $EngCommonDir = Join-Path $EngDir "common" $EngCommonScriptsDir = Join-Path $EngCommonDir "scripts"