1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: fix dropped package issue

This commit is contained in:
Dylan Araps 2021-06-30 09:14:31 +00:00
parent 9dbeca0c92
commit 3c8057acfb

11
kiss
View File

@ -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