mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 12:22:39 -06:00
misc: nit
This commit is contained in:
parent
321af6f003
commit
f5764dfc2d
4
kiss
4
kiss
@ -751,12 +751,12 @@ pkg_tar() (
|
|||||||
# NOTE: repo_ comes from caller.
|
# NOTE: repo_ comes from caller.
|
||||||
log "$1" "Creating tarball"
|
log "$1" "Creating tarball"
|
||||||
|
|
||||||
|
_tar_file=$bin_dir/$1@$repo_ver-$repo_rel.tar.$KISS_COMPRESS
|
||||||
|
|
||||||
# Use 'cd' to avoid needing tar's '-C' flag which may not be portable
|
# Use 'cd' to avoid needing tar's '-C' flag which may not be portable
|
||||||
# across implementations.
|
# across implementations.
|
||||||
cd "$pkg_dir/$1"
|
cd "$pkg_dir/$1"
|
||||||
|
|
||||||
_tar_file=$bin_dir/$1@$repo_ver-$repo_rel.tar.$KISS_COMPRESS
|
|
||||||
|
|
||||||
# Create a tarball from the contents of the built package.
|
# Create a tarball from the contents of the built package.
|
||||||
tar cf - . | case $KISS_COMPRESS in
|
tar cf - . | case $KISS_COMPRESS in
|
||||||
bz2) bzip2 -z ;;
|
bz2) bzip2 -z ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user