Preprare for xz support.

This commit is contained in:
Michal Čihař
2010-12-02 16:40:35 +01:00
parent 8017a61253
commit 267c8fe735

View File

@@ -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