Skip to content

Commit

Permalink
more output
Browse files Browse the repository at this point in the history
  • Loading branch information
chalcolith committed Dec 5, 2024
1 parent cfa5312 commit ddec41d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}

Expand Down

0 comments on commit ddec41d

Please sign in to comment.