From b8b11b80afcf6921b627b0fa78ba5641d3a2d5d1 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 5 Jul 2021 13:52:54 +0300 Subject: [PATCH] kiss: remove unneeded pkg_find_version --- kiss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kiss b/kiss index 38c3a2c..dd2b455 100755 --- a/kiss +++ b/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"