From 59ff620a2e6bd1239e501cbf171ec7655668fcb1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 27 Oct 2010 12:32:18 -0700 Subject: [PATCH] debug-print: don't stat $T during depend phase --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 4b831ef32..c6bb57e6e 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1267,7 +1267,7 @@ dyn_help() { debug-print() { # if $T isn't defined, we're in dep calculation mode and # shouldn't do anything - [[ ! -d ${T} || ${#} -eq 0 ]] && return 0 + [[ $EBUILD_PHASE = depend || ! -d ${T} || ${#} -eq 0 ]] && return 0 if [[ ${ECLASS_DEBUG_OUTPUT} == on ]]; then printf 'debug: %s\n' "${@}" >&2 -- 2.26.2