From 1d4771d4f12f92215b29b9a979a9204bcd4bfbd3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 28 Jun 2021 09:52:23 +0000 Subject: [PATCH] https://github.com/kiss-community/kiss/commit/21eb06ea431d07b310495b3cd399c13a0adfcb9e --- kiss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 95e1808..825d3c7 100755 --- a/kiss +++ b/kiss @@ -599,6 +599,7 @@ pkg_build() { # Build packages and turn them into packaged tarballs. log "Resolving dependencies" + argc=$# # Mark packages passed on the command-line separately from those # detected as dependencies. We need to treat explicitly passed packages @@ -631,8 +632,8 @@ pkg_build() { log "Building: $*" - # Only ask for confirmation if more than one package needs to be built. - [ "$#" -gt 1 ] || [ "$pkg_update" ] && prompt + # Ask for confirmation if extra packages need to be built. + [ "$#" != "$argc" ] || [ "$pkg_update" ] && prompt for pkg do pkg_lint "$pkg"; done