summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rolltarball.sh')
-rwxr-xr-xrolltarball.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/rolltarball.sh b/rolltarball.sh
index 2660564..1962c00 100755
--- a/rolltarball.sh
+++ b/rolltarball.sh
@@ -18,12 +18,11 @@
# 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 or on each commit which includes
-# changes to this script.
-MYVERSION='2.1'
+# Please increase version number before each commit which includes changes to
+# this script.
+MYVERSION='2.0'
# ********** Begin functions **********
@@ -434,8 +433,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 xz-ed tarball ${TB} from ${TB_DIR} excluding vcs files"
- tar --create --xz --verbose --exclude-vcs --exclude=*~ --file ${TB} ${TB_DIR} >&9
+ edebug "Create bzip2-ed tarball ${TB} from ${TB_DIR} excluding vcs files"
+ tar --create --bzip2 --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}/"