]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
maketgz: make bzip2 creation work with Parallel BZIP2 too
authorDaniel Stenberg <daniel@haxx.se>
Thu, 18 Apr 2013 09:13:56 +0000 (11:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 Apr 2013 09:13:56 +0000 (11:13 +0200)
Apparently the previous usage didn't work with that implementation,
while this updated version works with at least both Parallel BZIP2
v1.1.8 and regular bzip "Version 1.0.6, 6-Sept-2010".

maketgz

diff --git a/maketgz b/maketgz
index 880882ad4555e79b6e4cd73ce7a48a3c5c11ca9f..38d2b63899ccd23148d6e3a47cdb00ef8ce90c56 100755 (executable)
--- a/maketgz
+++ b/maketgz
@@ -9,7 +9,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -142,7 +142,7 @@ make -s dist VERSION=$version
 
 bzip2="curl-$version.tar.bz2"
 echo "Generating $bzip2"
-gzip -dc $targz | bzip2 --best > $bzip2
+gzip -dc $targz | bzip2 --best > $bzip2
 
 ############################################################################
 #