kiss: Keep default compression as gz

This commit is contained in:
Dylan Araps 2020-03-15 13:04:35 +02:00
parent fd56fa6a42
commit 024cab7fb8
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 4 additions and 4 deletions

4
kiss
View File

@ -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"
}

4
kiss.1
View File

@ -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.