mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss: fix dropped package issue
This commit is contained in:
parent
9dbeca0c92
commit
3c8057acfb
11
kiss
11
kiss
@ -665,14 +665,15 @@ pkg_build() {
|
||||
|
||||
# Install any pre-built dependencies if they exist in the binary
|
||||
# directory and are up to date.
|
||||
for pkg do
|
||||
! contains "$explicit_build" "$pkg" && pkg_cache "$pkg" && {
|
||||
for pkg in "$@"; do
|
||||
if ! contains "$explicit_build" "$pkg" && pkg_cache "$pkg"; then
|
||||
log "$pkg" "Found pre-built binary, installing"
|
||||
(KISS_FORCE=1 args i "$tar_file")
|
||||
else
|
||||
set -- "$@" "$pkg"
|
||||
fi
|
||||
|
||||
# Remove the now installed package from the build list.
|
||||
shift
|
||||
}
|
||||
shift
|
||||
done
|
||||
|
||||
for pkg do pkg_sources "$pkg"; done
|
||||
|
Loading…
Reference in New Issue
Block a user