From 9fb32d0177636b6a4f3fd7cb995e746aaaae9a08 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 5 Jul 2021 13:50:50 +0300 Subject: [PATCH] kiss: remove unneeded pkg_find call --- kiss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kiss b/kiss index c2fed3b..38c3a2c 100755 --- a/kiss +++ b/kiss @@ -357,8 +357,7 @@ pkg_extract_tar_hack() { pkg_extract() { # Extract all source archives to the build directory and copy over any - # local repository files. - pkg_find "$1" + # local repository files. NOTE: repo_dir comes from caller. # Support packages without sources. Simply do nothing. [ -f "$repo_dir/sources" ] || return 0 @@ -730,8 +729,8 @@ pkg_build() { log "$pkg" "Building package ($((in+=1))/$#)" run_hook pre-extract "$pkg" "$pkg_dir/$pkg" - pkg_extract "$pkg" pkg_find_version "$pkg" + pkg_extract "$pkg" # Install built packages to a directory under the package name to # avoid collisions with other packages.