diff --git a/kiss b/kiss index c7762d60..ec77e506 100755 --- a/kiss +++ b/kiss @@ -592,6 +592,12 @@ pkg_tar() ( run_hook post-package "$1" ) +pkg_build_all() { + pkg_order "$@" + # shellcheck disable=2086 + pkg_build $order +} + pkg_build() { # Build packages and turn them into packaged tarballs. @@ -1432,8 +1438,7 @@ pkg_updates() { # shellcheck disable=2046,2086 { pkg_update=1 - pkg_order "$@" - pkg_build $order + pkg_build_all "$@" } log "Updated all packages" @@ -1554,7 +1559,7 @@ args() { esac ;; - b|build) pkg_build "${@:?No packages installed}" ;; + b|build) pkg_build_all "${@:?No packages installed}" ;; d|download) for pkg do pkg_sources "$pkg"; done ;; l|list) pkg_list "$@" ;; u|update) pkg_updates ;;