aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap.ps14
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1
index a50d0dde1..3e886b26a 100644
--- a/scripts/bootstrap.ps1
+++ b/scripts/bootstrap.ps1
@@ -56,9 +56,9 @@ try
"dirs.proj") -join " "
# vcpkgInvokeCommandClean cmd "/c echo %PATH%"
- vcpkgInvokeCommandClean $msbuildExe $arguments
+ $ec = vcpkgInvokeCommandClean $msbuildExe $arguments
- if ($LASTEXITCODE -ne 0)
+ if ($ec -ne 0)
{
Write-Error "Building vcpkg.exe failed. Please ensure you have installed Visual Studio with the Desktop C++ workload and the Windows SDK for Desktop C++."
return