summaryrefslogtreecommitdiff
path: root/maketgz
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-21 22:40:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-22 00:52:48 +0200
commit0537238cbf9e731a1dcb864bbf4b2093e2c51703 (patch)
treefa28c531fea0f004ec41520eeb29f1ddbd18d787 /maketgz
parent9b167fd090f596eac828817d48c247eeae53407f (diff)
downloadcurl-0537238cbf9e731a1dcb864bbf4b2093e2c51703.tar.gz
maketgz: switch to xz instead of lzma
The compressed output size seems to be a tad bit smaller, but generally xz seems more preferred these days and is used directly by for example gentoo instead of bz2. "Users of LZMA Utils should move to XZ Utils" => https://tukaani.org/lzma/ Closes #1604
Diffstat (limited to 'maketgz')
-rwxr-xr-xmaketgz12
1 files changed, 6 insertions, 6 deletions
diff --git a/maketgz b/maketgz
index f655ea365..119ba8372 100755
--- a/maketgz
+++ b/maketgz
@@ -171,12 +171,12 @@ gzip -dc $targz | bzip2 --best > $bzip2
############################################################################
#
-# Now make an lzma archive from the tar.gz original
+# Now make an xz archive from the tar.gz original
#
-lzma="curl-$version.tar.lzma"
-echo "Generating $lzma"
-gzip -dc $targz | lzma --best - > $lzma
+xz="curl-$version.tar.xz"
+echo "Generating $xz"
+gzip -dc $targz | xz -9e - > $xz
############################################################################
#
@@ -202,7 +202,7 @@ makezip
echo "------------------"
echo "maketgz report:"
echo ""
-ls -l $targz $bzip2 $zip $lzma
+ls -l $targz $bzip2 $zip $xz
echo "Run this:"
-echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip && gpg -b -a $lzma"
+echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip && gpg -b -a $xz"