aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-15 11:04:35 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-03-15 11:04:35 +0000
commit013dd70d5297634ffc966bc1ed46670c8b67d025 (patch)
tree6ba7b6bc056dc3bef77bdc873aa269be4789b5a8
parent662ab60630a0787fc100f6869f9206e1af95c988 (diff)
downloadcpt-013dd70d5297634ffc966bc1ed46670c8b67d025.tar.gz
kiss: Keep default compression as gz
FossilOrigin-Name: 92b3e840d9b4e449eb4c2fe114f1ad718805dece8cdbee271b84633a15737cf7
-rwxr-xr-xkiss4
-rw-r--r--kiss.14
2 files changed, 4 insertions, 4 deletions
diff --git a/kiss b/kiss
index 68cdcee..0c6d9f6 100755
--- a/kiss
+++ b/kiss
@@ -503,11 +503,11 @@ pkg_tar() {
# Create a tar-ball from the contents of the built package.
"$tar" cf - -C "$pkg_dir/$1" . |
- case ${KISS_COMPRESS:=xz} in
+ case ${KISS_COMPRESS:=gz} in
xz) xz -zT 0 ;;
gz) gzip -6 ;;
esac \
- > "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=xz}"
+ > "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}"
log "$1" "Successfully created tar-ball"
}
diff --git a/kiss.1 b/kiss.1
index e94aacc..84de341 100644
--- a/kiss.1
+++ b/kiss.1
@@ -100,8 +100,8 @@ export KISS_KEEPLOG=0
# Compression method to use for package tarballs.
#
-# Valid options: 'xz' (default), 'gz'
-export KISS_COMPRESS=xz
+# Valid options: 'gz' (default), 'xz'
+export KISS_COMPRESS=gz
# Keep build, package and extraction cache directories for debugging
# purposes.