From 3f69ea4fa477f1907c1a86d7705681461364781b Mon Sep 17 00:00:00 2001 From: Gordon Tisher Date: Thu, 5 Dec 2024 10:41:15 -0800 Subject: [PATCH] Add `-Force` --- make.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.ps1 b/make.ps1 index 808bbc1..ce22075 100644 --- a/make.ps1 +++ b/make.ps1 @@ -157,7 +157,7 @@ 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 -Path $pcre2ZipTgt -DestinationPath "$libsDir" + Expand-Archive -Force -Path $pcre2ZipTgt -DestinationPath "$libsDir" if ($LastExitCode -ne 0) { throw "Error downloading and unzipping $pcre2Zip" } }