]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
make_dist_tarball.sh: make gz and bz2 archives
authorSage Weil <sage@redhat.com>
Sun, 31 May 2015 21:57:41 +0000 (17:57 -0400)
committerSage Weil <sage@redhat.com>
Sun, 31 May 2015 21:57:41 +0000 (17:57 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
bin/make_dist_tarball.sh

index d7d8bdafff4fa9f1d4a4bd3af696614ee3ff22ce..bdf1af282f28061ed1dd3da63f2c0fb0e269cf03 100755 (executable)
@@ -30,6 +30,8 @@ $bindir/git-archive-all.sh --prefix ceph-$version/ \
                           --verbose \
                           --ignore corpus \
                           $outfile.tar
-gzip -9 $outfile.tar
+echo "compressing to gz and bz2..."
+gzip -k -9 $outfile.tar
+bzip2 -9 $outfile.tar
 
 echo "done."