kiss: Fix dependency chain.

This commit is contained in:
Dylan Araps 2019-06-30 09:47:38 +03:00
parent 1a8fcdc07a
commit 4c39f6e0be

11
kiss
View File

@ -376,7 +376,13 @@ pkg_build() {
for pkg; do for pkg; do
# Don't check for pre-built package if it was passed to KISS # Don't check for pre-built package if it was passed to KISS
# directly. # directly.
case $explicit_packages in *" $pkg "*) continue ;; esac case $explicit_packages in
*" $pkg "*)
shift
set -- "$@" "$pkg"
continue
;;
esac
# Find the package's repository files. This needs to keep # Find the package's repository files. This needs to keep
# happening as we can't store this data in any kind of data # happening as we can't store this data in any kind of data
@ -430,8 +436,9 @@ pkg_build() {
[ "$mismatch" ] && [ "$mismatch" ] &&
die "Checksum mismatch with: ${mismatch% }" die "Checksum mismatch with: ${mismatch% }"
for pkg; do pkg_extract "$pkg"; done
for pkg; do for pkg; do
pkg_extract "$pkg"
# Find the package's repository files. This needs to keep # Find the package's repository files. This needs to keep
# happening as we can't store this data in any kind of data # happening as we can't store this data in any kind of data
# structure. # structure.