1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00

kiss: Correctly quote $\#

This commit is contained in:
Dylan Araps 2020-05-25 12:50:42 +03:00
parent 8366eb5e19
commit 6134d5d02f
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -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
}