forked from kiss-community/kiss
kiss: Correctly quote $\#
This commit is contained in:
parent
8366eb5e19
commit
6134d5d02f
4
kiss
4
kiss
@ -615,7 +615,7 @@ pkg_build() {
|
|||||||
log "Building: $*"
|
log "Building: $*"
|
||||||
|
|
||||||
# Only ask for confirmation if more than one package needs to be built.
|
# 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
|
for pkg do pkg_lint "$pkg"; done
|
||||||
|
|
||||||
@ -714,7 +714,7 @@ pkg_build() {
|
|||||||
set -- $explicit
|
set -- $explicit
|
||||||
|
|
||||||
# Only ask for confirmation if more than one package needs to be installed.
|
# 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 "$@"
|
args i "$@"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user