diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-30 06:47:37 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-06-30 06:47:37 +0000 |
commit | d2c0d41f211683aebbf3277b590089595afafed2 (patch) | |
tree | c383a5e4686ba57acb1de11d7c940a6532eb5dca /kiss | |
parent | cf86249d20427eebca62796b8b00569ad07d47fe (diff) | |
download | cpt-d2c0d41f211683aebbf3277b590089595afafed2.tar.gz |
kiss: Fix dependency chain.
FossilOrigin-Name: 274fdd5d6111ca9cd7b9667f84f2ce4fed0e2d66073afee8e0680cfcd1e7c77c
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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. |