xbps-src: print dependency installation if verbose mode is enabled
This commit is contained in:
committed by
Duncan Overbruck
parent
2332c7bad2
commit
a41cfc34bc
@@ -79,7 +79,11 @@ install_pkg_from_repos() {
|
||||
|
||||
cmd=$XBPS_INSTALL_CMD
|
||||
[[ $cross ]] && cmd=$XBPS_INSTALL_XCMD
|
||||
$cmd -Ay "$@" >$tmplogf 2>&1
|
||||
if [ -n "$XBPS_VERBOSE" ]; then
|
||||
$cmd -Ay "$@" 2>&1 | tee "$tmplogf"
|
||||
else
|
||||
$cmd -Ay "$@" >"$tmplogf" 2>&1
|
||||
fi
|
||||
rval=$?
|
||||
|
||||
case "$rval" in
|
||||
|
||||
Reference in New Issue
Block a user