[vlc-commits] contrib: x265: fix unpacking error handling

Rémi Denis-Courmont git at videolan.org
Tue Feb 21 18:41:24 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 19:24:06 2017 +0200| [0fe595a66fdfc41ffbe8e013ca078ab3a7755684] | committer: Rémi Denis-Courmont

contrib: x265: fix unpacking error handling

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

 contrib/src/x265/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/x265/rules.mak b/contrib/src/x265/rules.mak
index ccaec4f..b06699f 100644
--- a/contrib/src/x265/rules.mak
+++ b/contrib/src/x265/rules.mak
@@ -25,7 +25,7 @@ $(TARBALLS)/x265-$(X265_VERSION).tar.bz2:
 x265: x265-$(X265_VERSION).tar.bz2 .sum-x265
 	rm -Rf $@-$(X265_VERSION)
 	mkdir -p $@-$(X265_VERSION)
-	$(BZCAT) "$<" | (cd $@-$(X265_VERSION) && tar xv --strip-components=1)
+	tar xvjf "$<" --strip-components=1 -C $@-$(X265_VERSION)
 	$(APPLY) $(SRC)/x265/x265-ldl-linking.patch
 	$(call pkg_static,"source/x265.pc.in")
 ifndef HAVE_WIN32



More information about the vlc-commits mailing list