From d3c6bd51c36b9f0bdda699ae4e073ef57c51d02c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 27 Oct 2010 12:32:18 -0700 Subject: 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 -- cgit v1.2.3-1-g7c22