diff options
author | noreply@github.com <noreply@github.com> | 2019-09-15 07:51:25 +0000 |
---|---|---|
committer | noreply@github.com <noreply@github.com> | 2019-09-15 07:51:25 +0000 |
commit | 9a3ea6c735c0503482569f1bebb5bbf5159fbb8b (patch) | |
tree | f3306c35fec2953d7bf6c53bbbb0da9a237c8671 | |
parent | f50d8f78a3517d324718ba339a2a200fd5431525 (diff) | |
parent | bf6782f3313a3daea713f53d160b867abf063cc1 (diff) | |
download | cpt-9a3ea6c735c0503482569f1bebb5bbf5159fbb8b.tar.gz |
Merge pull request #55 from kisslinux/lax_deps
Lax deps
FossilOrigin-Name: e9fb56a6cca3aba80d4e6ee65680eb94dea91b30baa367acb60eb94aa9f27644
-rwxr-xr-x | kiss | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -345,7 +345,7 @@ pkg_build() { log "Resolving dependencies" - for pkg; do + for pkg; do contains "$explicit" "$pkg" || { pkg_depends "$pkg" explicit @@ -361,14 +361,13 @@ pkg_build() { # package, remove it from the explicit list as it needs to be # installed as a dependency. for pkg; do - # There's no better way to remove a word from a string in + # There's no better way to remove a word from a string in # POSIX 'sh' sadly. - contains "$deps" "$pkg" && + contains "$deps" "$pkg" && explicit=$(echo "$explicit" | sed "s/ $pkg / /g") done set -- $deps $explicit - log "Building: $*" # Only ask for confirmation if more than one package needs to be built. @@ -387,7 +386,7 @@ pkg_build() { # Install any pre-built dependencies if they exist in the binary # directory and are up to date. for pkg; do - # Don't check for a pre-built package if it was passed + # Don't check for a pre-built package if it was passed # to KISS directly. contains "$explicit_build" "$pkg" || { # Figure out the version and release. @@ -950,7 +949,7 @@ args() { ;; v|version|-v|--version) - printf 'kiss 0.22.0\n' + printf 'kiss 0.30.0\n' ;; h|help|-h|--help|'') |