mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30:05 -07:00
kiss: Correctly quote $\#
This commit is contained in:
parent
8366eb5e19
commit
6134d5d02f
4
kiss
4
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user