From 267c8fe7353c10d7a308274cf69853b6bcc58ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 2 Dec 2010 16:40:35 +0100 Subject: [PATCH] Preprare for xz support. --- scripts/create-release.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/create-release.sh b/scripts/create-release.sh index 098ded42e..8e1ca23ef 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -163,13 +163,17 @@ for kit in $KITS ; do # Prepare distributions for comp in $COMPRESSIONS ; do case $comp in - tbz|tgz) + tbz|tgz|txz) echo "* Creating $name.tar" tar cf $name.tar $name if [ $comp = tbz ] ; then echo "* Creating $name.tar.bz2" bzip2 -9k $name.tar fi + if [ $comp = txz ] ; then + echo "* Creating $name.tar.xz" + xz -9k $name.tar + fi if [ $comp = tgz ] ; then echo "* Creating $name.tar.gz" gzip -9c $name.tar > $name.tar.gz