forked from kiss-community/kiss
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.
|
||||
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
|
||||
# across implementations.
|
||||
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.
|
||||
tar cf - . | case $KISS_COMPRESS in
|
||||
bz2) bzip2 -z ;;
|
||||
|
Loading…
Reference in New Issue
Block a user