From d690f13cc1ba40ea3332bb3ce9c108dad2408056 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Mon, 11 May 2026 18:20:16 +0200 Subject: [PATCH] xbps-src: print dependency installation if verbose mode is enabled --- common/xbps-src/shutils/build_dependencies.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/build_dependencies.sh b/common/xbps-src/shutils/build_dependencies.sh index 95dcae58be4dbb..03fffb61814426 100644 --- a/common/xbps-src/shutils/build_dependencies.sh +++ b/common/xbps-src/shutils/build_dependencies.sh @@ -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