summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-27 12:32:18 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-27 12:32:18 -0700
commit59ff620a2e6bd1239e501cbf171ec7655668fcb1 (patch)
treef3af4f62a0bf0260605805f575cda027c1f651b6
parent99a5dc4f3b0de5deb9b68a8f0924d3d41e054d80 (diff)
downloadportage-59ff620a2e6bd1239e501cbf171ec7655668fcb1.tar.gz
portage-59ff620a2e6bd1239e501cbf171ec7655668fcb1.tar.bz2
portage-59ff620a2e6bd1239e501cbf171ec7655668fcb1.zip
debug-print: don't stat $T during depend phasev2.2.0_alpha2
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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