From cfa5312ff7a718d94babc3e42825f6dcfa8a3476 Mon Sep 17 00:00:00 2001 From: Gordon Tisher Date: Thu, 5 Dec 2024 10:47:49 -0800 Subject: [PATCH] Debug output --- make.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make.ps1 b/make.ps1 index 5e85d2b..232c5b3 100644 --- a/make.ps1 +++ b/make.ps1 @@ -157,7 +157,8 @@ function BuildLibs $pcre2Zip = "$pcre2.zip" $pcre2ZipTgt = Join-Path -Path $libsDir -ChildPath $pcre2Zip if (-not (Test-Path $pcre2ZipTgt)) { Invoke-WebRequest -TimeoutSec 300 -Uri "https://github.com/PhilipHazel/pcre2/releases/download/$pcre2/$pcre2Zip" -OutFile $pcre2ZipTgt } - Expand-Archive -Force -LiteralPath $pcre2ZipTgt -DestinationPath "$libsDir" + $output = Expand-Archive -Force -LiteralPath "$pcre2ZipTgt" -DestinationPath "$libsDir" + Write-Host $output if ($LastExitCode -ne 0) { throw "Error downloading and unzipping $pcre2Zip" } }