From 4ef971c0e4f55ced71a17432705093c09d05fc04 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Mon, 27 Jan 2020 11:42:28 +0000 Subject: kiss: prompt for password before multi-build FossilOrigin-Name: 29d537a5ad6bcb9116c64918af7a8a3e2b36732d009ded8541296d3a8d921570 --- kiss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index bd95417..7d49ca7 100755 --- a/kiss +++ b/kiss @@ -479,7 +479,11 @@ 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 + + [ "$pass" ] || root_cache + } log "Checking to see if any dependencies have already been built" log "Installing any pre-built dependencies" -- cgit v1.2.3