diff --git a/kiss b/kiss index cd32ab1..cd48dcd 100755 --- a/kiss +++ b/kiss @@ -550,14 +550,14 @@ pkg_tar() ( cd "$pkg_dir/$1" # Create a tarball from the contents of the built package. - tar cf - . | case ${KISS_COMPRESS:=gz} in + tar cf - . | case ${KISS_COMPRESS:-gz} in bz2) bzip2 -z ;; gz) gzip -6 ;; lzma) lzma -z ;; lz) lzip -z ;; xz) xz -zT 0 ;; zst) zstd -z ;; - esac > "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}" + esac > "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:-gz}" log "$1" "Successfully created tarball" run_hook post-package "$1"