forked from kiss-community/kiss
kiss: drop variable assignments as they're done in subshell
This commit is contained in:
parent
b74509ef90
commit
6a5041c067
4
kiss
4
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"
|
||||
|
Loading…
Reference in New Issue
Block a user