forked from kiss-community/kiss
misc: cleanup args i
This commit is contained in:
parent
84f1eb7c98
commit
08a8ccd168
6
kiss
6
kiss
@ -675,7 +675,7 @@ pkg_build() {
|
|||||||
for pkg in "$@"; do
|
for pkg in "$@"; do
|
||||||
if ! contains "$explicit_build" "$pkg" && pkg_cache "$pkg"; then
|
if ! contains "$explicit_build" "$pkg" && pkg_cache "$pkg"; then
|
||||||
log "$pkg" "Found pre-built binary, installing"
|
log "$pkg" "Found pre-built binary, installing"
|
||||||
(KISS_FORCE=1 args i "$tar_file")
|
(export KISS_FORCE=1; args i "$tar_file")
|
||||||
else
|
else
|
||||||
set -- "$@" "$pkg"
|
set -- "$@" "$pkg"
|
||||||
fi
|
fi
|
||||||
@ -750,7 +750,7 @@ pkg_build() {
|
|||||||
|
|
||||||
if [ "$pkg_update" ] || ! contains "$explicit" "$pkg"; then
|
if [ "$pkg_update" ] || ! contains "$explicit" "$pkg"; then
|
||||||
log "$pkg" "Needed as a dependency or has an update, installing"
|
log "$pkg" "Needed as a dependency or has an update, installing"
|
||||||
(KISS_FORCE=1 args i "$pkg")
|
(export KISS_FORCE=1; args i "$pkg")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -758,7 +758,7 @@ pkg_build() {
|
|||||||
# shellcheck disable=2046,2086
|
# shellcheck disable=2046,2086
|
||||||
set -- $explicit
|
set -- $explicit
|
||||||
|
|
||||||
[ "$pkg_update" ] || prompt "Install built packages? [$*]" && args i "$@"
|
[ "$pkg_update" ] || prompt "Install built packages? [$*]" && (args i "$@")
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_checksums() {
|
pkg_checksums() {
|
||||||
|
Loading…
Reference in New Issue
Block a user