[vlc-commits] contrib: remove the contrib folder before unpacking the prebuilt

Steve Lhomme git at videolan.org
Tue Jun 18 08:59:30 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 17 09:04:27 2019 +0200| [6061663719f53fbaf8e8885195de83942af60395] | committer: Steve Lhomme

contrib: remove the contrib folder before unpacking the prebuilt

In case it's the same folder we don't want to remove it after unpacking.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6061663719f53fbaf8e8885195de83942af60395
---

 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



More information about the vlc-commits mailing list