From cd41cfe468d453a9c5d9ceb601f0e5aba988113a Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Thu, 9 Nov 2017 21:42:36 -0800 Subject: Use Push-Location/Pop-Location instead of pushd/popd --- scripts/bootstrap.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1 index f349dbecd..ca7b1a0ce 100644 --- a/scripts/bootstrap.ps1 +++ b/scripts/bootstrap.ps1 @@ -38,7 +38,7 @@ if (!(Test-Path $vcpkgSourcesPath)) try { - pushd $vcpkgSourcesPath + Push-Location $vcpkgSourcesPath $msbuildExeWithPlatformToolset = & $scriptsDir\findAnyMSBuildWithCppPlatformToolset.ps1 $withVSPath $msbuildExe = $msbuildExeWithPlatformToolset[0] $platformToolset = $msbuildExeWithPlatformToolset[1] @@ -57,5 +57,5 @@ try } finally { - popd + Pop-Location } -- cgit v1.2.3