[packages/libyuv] use tar -a to let tar decide on compressor
glen
glen at pld-linux.org
Thu Jan 10 21:03:08 CET 2013
commit c0781f3ed4cfa878d7d998a301ceb72e83d241d2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jan 10 22:02:26 2013 +0200
use tar -a to let tar decide on compressor
get-source.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/get-source.sh b/get-source.sh
index e4051f3..32c91ed 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -7,8 +7,7 @@ package=libyuv
specfile=$package.spec
baseurl=http://$package.googlecode.com/svn
svnurl=$baseurl/trunk
-ext=xz
-tarball=$package-$(date +%Y%m%d).tar.$ext
+tarball=$package-$(date +%Y%m%d).tar.xz
# get depot tools
# http://www.chromium.org/developers/how-tos/install-depot-tools
@@ -39,6 +38,6 @@ sed -i -re '/"url"/ s,"http[^"]+","'$svnurl'",' .gclient
cd ..
-XZ_OPT=-e9 tar -cf $tarball --$ext --exclude-vcs $package
+XZ_OPT=-e9 tar -caf $tarball --exclude-vcs $package
../md5 $specfile
../dropin $tarball &
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libyuv.git/commitdiff/eb3b7c2b07386b38db27262a37222e32a975dbcf
More information about the pld-cvs-commit
mailing list