mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-24 11:49:41 +00:00
Use Push-Location/Pop-Location instead of pushd/popd
This commit is contained in:
parent
192087563d
commit
cd41cfe468
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user