From 4c39f6e0be3b04eb45f6b634f99dbb2fb9f35894 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 30 Jun 2019 09:47:38 +0300 Subject: [PATCH] kiss: Fix dependency chain. --- kiss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 5b7fec1..ed77665 100755 --- a/kiss +++ b/kiss @@ -376,7 +376,13 @@ pkg_build() { for pkg; do # Don't check for pre-built package if it was passed to KISS # 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 # happening as we can't store this data in any kind of data @@ -430,8 +436,9 @@ pkg_build() { [ "$mismatch" ] && die "Checksum mismatch with: ${mismatch% }" - for pkg; do pkg_extract "$pkg"; done for pkg; do + pkg_extract "$pkg" + # Find the package's repository files. This needs to keep # happening as we can't store this data in any kind of data # structure.