mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
This commit is contained in:
parent
5da3d06cea
commit
1d4771d4f1
5
kiss
5
kiss
@ -599,6 +599,7 @@ pkg_build() {
|
|||||||
# Build packages and turn them into packaged tarballs.
|
# Build packages and turn them into packaged tarballs.
|
||||||
|
|
||||||
log "Resolving dependencies"
|
log "Resolving dependencies"
|
||||||
|
argc=$#
|
||||||
|
|
||||||
# Mark packages passed on the command-line separately from those
|
# Mark packages passed on the command-line separately from those
|
||||||
# detected as dependencies. We need to treat explicitly passed packages
|
# detected as dependencies. We need to treat explicitly passed packages
|
||||||
@ -631,8 +632,8 @@ pkg_build() {
|
|||||||
|
|
||||||
log "Building: $*"
|
log "Building: $*"
|
||||||
|
|
||||||
# Only ask for confirmation if more than one package needs to be built.
|
# Ask for confirmation if extra packages need to be built.
|
||||||
[ "$#" -gt 1 ] || [ "$pkg_update" ] && prompt
|
[ "$#" != "$argc" ] || [ "$pkg_update" ] && prompt
|
||||||
|
|
||||||
for pkg do pkg_lint "$pkg"; done
|
for pkg do pkg_lint "$pkg"; done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user