From 01007e37767fc0d7bf0108c80c8c700e125917bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 21 Jun 2023 16:36:22 +0200
Subject: [PATCH] Windows package: avoid prompts from unzip that cause build
 failures

Unpacked files may already be present due to GitLab CI caching.

Bug introduced in 39c2cba1b6c196702490d1cc7706ef5e7ca1939a.
---
 windows/deps/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/windows/deps/Makefile b/windows/deps/Makefile
index 58f056ceed..2d32583896 100644
--- a/windows/deps/Makefile
+++ b/windows/deps/Makefile
@@ -198,7 +198,7 @@ tarballs/x13as_ascii-v$(X13AS_VERSION).zip:
 	wget $(WGET_OPTIONS) -O $@ https://www2.census.gov/software/x-13arima-seats/x13as/windows/program-archives/$(notdir $@)
 
 lib64/x13as/x13as.exe: tarballs/x13as_ascii-v$(X13AS_VERSION).zip
-	unzip -d lib64 $<
+	unzip -o -d lib64 $<
 	mv lib64/x13as/x13as_ascii.exe $@
 
 x13as: lib64/x13as/x13as.exe
-- 
GitLab