From e76f2c7d5e10909df0eea20101ebe3687d6b45d9 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Mon, 5 Sep 2022 11:01:33 +0200
Subject: [PATCH] contrib: fail the build if prebuilt fail

In some cases the tarballs are corrupted. If the extraction of the tarball
fails the build will fail (or may use part of an old extraction).

The `-` was introduced in 5d2ed11e91467de6abe609341f4f482414fda198.
---
 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 82b969db4da7..c12113a561f9 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -562,7 +562,7 @@ vlc-contrib-$(HOST)-latest.tar.bz2:
 
 prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
 	$(RM) -r $(PREFIX)
-	-$(UNPACK)
+	$(UNPACK)
 	mv $(HOST) $(PREFIX)
 	cd $(PREFIX) && $(abspath $(SRC))/change_prefix.sh
 ifdef HAVE_WIN32
-- 
GitLab