From f146836f108f4ceca92502467a7ec7ea4570aa86 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Sun, 15 Sep 2019 07:42:17 +0000 Subject: version: bump FossilOrigin-Name: 0cd9343264634d8112955afabee2fb45281fbb9e85b9fe611368361712328288 --- kiss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/kiss b/kiss index ab66e23..1f5c579 100755 --- a/kiss +++ b/kiss @@ -345,7 +345,7 @@ pkg_build() { log "Resolving dependencies" - for pkg; do + for pkg; do contains "$explicit" "$pkg" || { pkg_depends "$pkg" explicit @@ -361,13 +361,15 @@ 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 + echo "$explicit_build" + echo "$deps - $explicit" log "Building: $*" @@ -387,7 +389,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 +952,7 @@ args() { ;; v|version|-v|--version) - printf 'kiss 0.22.0\n' + printf 'kiss 0.30.0\n' ;; h|help|-h|--help|'') -- cgit v1.2.3 From bf6782f3313a3daea713f53d160b867abf063cc1 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Sun, 15 Sep 2019 07:49:02 +0000 Subject: kiss: remove debugging lines FossilOrigin-Name: 8641367713dcbe040e2257cfc3cf895e65571f6a0e7d545a910782ffb6e7745b --- kiss | 3 --- 1 file changed, 3 deletions(-) diff --git a/kiss b/kiss index 1f5c579..9315c1c 100755 --- a/kiss +++ b/kiss @@ -368,9 +368,6 @@ pkg_build() { done set -- $deps $explicit - echo "$explicit_build" - echo "$deps - $explicit" - log "Building: $*" # Only ask for confirmation if more than one package needs to be built. -- cgit v1.2.3