From ddec41d4ab8bfcfacbf3097d0301993ed31eea70 Mon Sep 17 00:00:00 2001 From: Gordon Tisher Date: Thu, 5 Dec 2024 10:50:08 -0800 Subject: [PATCH] more output --- make.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make.ps1 b/make.ps1 index 232c5b3..3f74018 100644 --- a/make.ps1 +++ b/make.ps1 @@ -157,8 +157,9 @@ 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 } + Write-Output "Expand-Archive -Force -LiteralPath `"$pcre2ZipTgt`" -DestinationPath `"$libsDir`"" $output = Expand-Archive -Force -LiteralPath "$pcre2ZipTgt" -DestinationPath "$libsDir" - Write-Host $output + Write-Output $output if ($LastExitCode -ne 0) { throw "Error downloading and unzipping $pcre2Zip" } }