From 08a8ccd1689dcd1aa31ede18edc50b08c5700db4 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 3 Jul 2021 15:12:40 +0000 Subject: [PATCH] misc: cleanup args i --- kiss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kiss b/kiss index 80ec475..e6edf41 100755 --- a/kiss +++ b/kiss @@ -675,7 +675,7 @@ pkg_build() { for pkg in "$@"; do if ! contains "$explicit_build" "$pkg" && pkg_cache "$pkg"; then log "$pkg" "Found pre-built binary, installing" - (KISS_FORCE=1 args i "$tar_file") + (export KISS_FORCE=1; args i "$tar_file") else set -- "$@" "$pkg" fi @@ -750,7 +750,7 @@ pkg_build() { if [ "$pkg_update" ] || ! contains "$explicit" "$pkg"; then 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 done @@ -758,7 +758,7 @@ pkg_build() { # shellcheck disable=2046,2086 set -- $explicit - [ "$pkg_update" ] || prompt "Install built packages? [$*]" && args i "$@" + [ "$pkg_update" ] || prompt "Install built packages? [$*]" && (args i "$@") } pkg_checksums() {