From e4add917fbdce579a8c861ec8c42ac5da6ff8103 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Fri, 2 Apr 2010 16:13:43 +0000 Subject: [PATCH] In release tagging, separate the tar and compression stages. --- scripts/tagscript.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/tagscript.sh b/scripts/tagscript.sh index b3705b300d..44797b3640 100755 --- a/scripts/tagscript.sh +++ b/scripts/tagscript.sh @@ -62,10 +62,11 @@ rm -f docs/COPYING rm -f docs/ChangeLog rm -rf .git cd .. -tar -czvf $dst_name.tar.gz $dst_dir -tar -cjvf $dst_name.tar.bz2 $dst_dir -tar -cJvf $dst_name.tar.xz $dst_dir || echo tar does not support -J -rm -rf $dst_dir +tar -cvf $dst_name.tar $dst_dir +gzip -9 -c $dst_name.tar > $dst_name.tar.gz || echo "gzip not available" +bzip2 -z -k $dst_name.tar || echo "bzip2 not available" +xz -z -9 -k $dst_name.tar || echo "xz / xz-utils not available" +rm -rf $dst_name.tar $dst_dir cat 1>&2 <