mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 07:30:16 -07:00
kiss: remove unneeded pkg_find_version
This commit is contained in:
parent
9fb32d0177
commit
b8b11b80af
8
kiss
8
kiss
@ -357,7 +357,9 @@ pkg_extract_tar_hack() {
|
||||
|
||||
pkg_extract() {
|
||||
# Extract all source archives to the build directory and copy over any
|
||||
# local repository files. NOTE: repo_dir comes from caller.
|
||||
# local repository files.
|
||||
#
|
||||
# NOTE: repo_dir comes from caller.
|
||||
|
||||
# Support packages without sources. Simply do nothing.
|
||||
[ -f "$repo_dir/sources" ] || return 0
|
||||
@ -632,10 +634,10 @@ pkg_etcsums() {
|
||||
pkg_tar() (
|
||||
# Create a tarball from the built package's files. This tarball also
|
||||
# contains the package's database entry.
|
||||
#
|
||||
# NOTE: repo_ comes from caller.
|
||||
log "$1" "Creating tarball"
|
||||
|
||||
pkg_find_version "$1"
|
||||
|
||||
# Use 'cd' to avoid needing tar's '-C' flag which may not be portable
|
||||
# across implementations.
|
||||
cd "$pkg_dir/$1"
|
||||
|
Loading…
Reference in New Issue
Block a user