[vlc-commits] contrib: postproc: use UNPACK

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 19:07:56 2017 +0200| [07917e398a925364d298a4a41e8f54b92a092b59] | committer: Rémi Denis-Courmont

contrib: postproc: use UNPACK

Fix error handling. Piping in Makefile is usually a bad idea.

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

 contrib/src/postproc/rules.mak | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/contrib/src/postproc/rules.mak b/contrib/src/postproc/rules.mak
index f7bdfc8..6439342 100644
--- a/contrib/src/postproc/rules.mak
+++ b/contrib/src/postproc/rules.mak
@@ -117,9 +117,7 @@ POSTPROC_VERSION := git
 	touch $@
 
 postproc: postproc-$(POSTPROC_VERSION).tar.gz .sum-postproc
-	rm -Rf $@ $@-git
-	mkdir -p $@-git
-	$(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+	$(UNPACK)
 	$(MOVE)
 
 .postproc: postproc



More information about the vlc-commits mailing list