diff options
author | 2020-12-01 12:21:17 +0100 | |
---|---|---|
committer | 2020-12-01 12:21:17 +0100 | |
commit | d8466105dfb6f3323561445488afa300634013b0 (patch) | |
tree | c7bc2b8a0ee2bd4cabe964ec91b3444cb6b96b14 | |
parent | Add xz compressed tarballs to .gitignore (diff) | |
download | apache-d8466105dfb6f3323561445488afa300634013b0.tar.gz apache-d8466105dfb6f3323561445488afa300634013b0.tar.bz2 apache-d8466105dfb6f3323561445488afa300634013b0.zip |
rolltarball.sh: Create xz compressed tarballs
instead of bzip2 compressed ones
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rwxr-xr-x | rolltarball.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/rolltarball.sh b/rolltarball.sh index 1962c00..2660564 100755 --- a/rolltarball.sh +++ b/rolltarball.sh @@ -18,11 +18,12 @@ # 05-Jun-2005 Complete rewrite to clean up code # 20-Apr-2014 Use git instead of svn. Change patchname in ebuild as # well +# 01-Dec-2020 Replace bzip2 with xz to compress tarballs # -# Please increase version number before each commit which includes changes to -# this script. -MYVERSION='2.0' +# Please increase version number before or on each commit which includes +# changes to this script. +MYVERSION='2.1' # ********** Begin functions ********** @@ -433,8 +434,8 @@ build_tarball() { echo ${CURTIME} > ${TB_DIR}/DATESTAMP echo "Packaged by ${G_USER}" >> ${TB_DIR}/DATESTAMP echo "$0 v${MYVERSION}" >> ${TB_DIR}/DATESTAMP - edebug "Create bzip2-ed tarball ${TB} from ${TB_DIR} excluding vcs files" - tar --create --bzip2 --verbose --exclude-vcs --exclude=*~ --file ${TB} ${TB_DIR} >&9 + edebug "Create xz-ed tarball ${TB} from ${TB_DIR} excluding vcs files" + tar --create --xz --verbose --exclude-vcs --exclude=*~ --file ${TB} ${TB_DIR} >&9 eend $? "Tarball creation failed" || die edebug "Remove temporary directory" rm -rf ${TB_DIR} || ewarn "Couldn't clean up, manually remove ${TB_DIR}/" |