Preprare for xz support.
This commit is contained in:
@@ -163,13 +163,17 @@ for kit in $KITS ; do
|
|||||||
# Prepare distributions
|
# Prepare distributions
|
||||||
for comp in $COMPRESSIONS ; do
|
for comp in $COMPRESSIONS ; do
|
||||||
case $comp in
|
case $comp in
|
||||||
tbz|tgz)
|
tbz|tgz|txz)
|
||||||
echo "* Creating $name.tar"
|
echo "* Creating $name.tar"
|
||||||
tar cf $name.tar $name
|
tar cf $name.tar $name
|
||||||
if [ $comp = tbz ] ; then
|
if [ $comp = tbz ] ; then
|
||||||
echo "* Creating $name.tar.bz2"
|
echo "* Creating $name.tar.bz2"
|
||||||
bzip2 -9k $name.tar
|
bzip2 -9k $name.tar
|
||||||
fi
|
fi
|
||||||
|
if [ $comp = txz ] ; then
|
||||||
|
echo "* Creating $name.tar.xz"
|
||||||
|
xz -9k $name.tar
|
||||||
|
fi
|
||||||
if [ $comp = tgz ] ; then
|
if [ $comp = tgz ] ; then
|
||||||
echo "* Creating $name.tar.gz"
|
echo "* Creating $name.tar.gz"
|
||||||
gzip -9c $name.tar > $name.tar.gz
|
gzip -9c $name.tar > $name.tar.gz
|
||||||
|
Reference in New Issue
Block a user