diff --git a/kiss b/kiss index 99e1fa4..6b246db 100755 --- a/kiss +++ b/kiss @@ -615,7 +615,7 @@ pkg_build() { log "Building: $*" # Only ask for confirmation if more than one package needs to be built. - [ $# -gt 1 ] || [ "$pkg_update" ] && prompt + [ "$#" -gt 1 ] || [ "$pkg_update" ] && prompt for pkg do pkg_lint "$pkg"; done @@ -714,7 +714,7 @@ pkg_build() { set -- $explicit # Only ask for confirmation if more than one package needs to be installed. - [ $# -gt 1 ] && prompt "Install built packages? [$*]" && { + [ "$#" -gt 1 ] && prompt "Install built packages? [$*]" && { args i "$@" return }