diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-09 21:42:36 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-09 21:42:36 -0800 |
| commit | cd41cfe468d453a9c5d9ceb601f0e5aba988113a (patch) | |
| tree | b266da5c904902f4184f1a09505fd4a7e7aa5b56 /scripts | |
| parent | 192087563d08d659c219700358803c748a71f72e (diff) | |
| download | vcpkg-cd41cfe468d453a9c5d9ceb601f0e5aba988113a.tar.gz vcpkg-cd41cfe468d453a9c5d9ceb601f0e5aba988113a.zip | |
Use Push-Location/Pop-Location instead of pushd/popd
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/bootstrap.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |
