forked from kiss-community/kiss
kiss: remove unneeded pkg_find call
This commit is contained in:
parent
6ef9a98ee3
commit
9fb32d0177
5
kiss
5
kiss
@ -357,8 +357,7 @@ pkg_extract_tar_hack() {
|
|||||||
|
|
||||||
pkg_extract() {
|
pkg_extract() {
|
||||||
# Extract all source archives to the build directory and copy over any
|
# Extract all source archives to the build directory and copy over any
|
||||||
# local repository files.
|
# local repository files. NOTE: repo_dir comes from caller.
|
||||||
pkg_find "$1"
|
|
||||||
|
|
||||||
# Support packages without sources. Simply do nothing.
|
# Support packages without sources. Simply do nothing.
|
||||||
[ -f "$repo_dir/sources" ] || return 0
|
[ -f "$repo_dir/sources" ] || return 0
|
||||||
@ -730,8 +729,8 @@ pkg_build() {
|
|||||||
log "$pkg" "Building package ($((in+=1))/$#)"
|
log "$pkg" "Building package ($((in+=1))/$#)"
|
||||||
|
|
||||||
run_hook pre-extract "$pkg" "$pkg_dir/$pkg"
|
run_hook pre-extract "$pkg" "$pkg_dir/$pkg"
|
||||||
pkg_extract "$pkg"
|
|
||||||
pkg_find_version "$pkg"
|
pkg_find_version "$pkg"
|
||||||
|
pkg_extract "$pkg"
|
||||||
|
|
||||||
# Install built packages to a directory under the package name to
|
# Install built packages to a directory under the package name to
|
||||||
# avoid collisions with other packages.
|
# avoid collisions with other packages.
|
||||||
|
Loading…
Reference in New Issue
Block a user