diff options
-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}/" |