diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-27 11:42:28 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-27 11:42:28 +0000 |
commit | 4ef971c0e4f55ced71a17432705093c09d05fc04 (patch) | |
tree | 2ec23c2d9948bca2270ac7200106fafe4d19e070 | |
parent | bc9688e0a6f424f903565bd75e94cbaa774c5675 (diff) | |
download | cpt-4ef971c0e4f55ced71a17432705093c09d05fc04.tar.gz |
kiss: prompt for password before multi-build
FossilOrigin-Name: 29d537a5ad6bcb9116c64918af7a8a3e2b36732d009ded8541296d3a8d921570
-rwxr-xr-x | kiss | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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" |