[vlc-devel] [PATCH 1/3] contrib: remove the contrib folder before unpacking the prebuilt

Steve Lhomme robux4 at ycbcr.xyz
Mon Jun 17 09:26:35 CEST 2019


In case it's the same folder we don't want to remove it after unpacking.
---
 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 d773932012..4aa9c2c3b8 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -473,8 +473,8 @@ vlc-contrib-$(HOST)-latest.tar.bz2:
 	$(call download,$(PREBUILT_URL))
 
 prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
-	-$(UNPACK)
 	$(RM) -r $(PREFIX)
+	-$(UNPACK)
 	mv $(HOST) $(TOPDST)
 	cd $(PREFIX) && $(SRC)/change_prefix.sh
 ifdef HAVE_WIN32
-- 
2.17.1



More information about the vlc-devel mailing list