commit | 59ff620a2e6bd1239e501cbf171ec7655668fcb1 | [log] [tgz] |
---|---|---|
author | Zac Medico <zmedico@gentoo.org> | Wed Oct 27 12:32:18 2010 -0700 |
committer | Zac Medico <zmedico@gentoo.org> | Wed Oct 27 12:32:18 2010 -0700 |
tree | f3af4f62a0bf0260605805f575cda027c1f651b6 | |
parent | 99a5dc4f3b0de5deb9b68a8f0924d3d41e054d80 [diff] |
debug-print: don't stat $T during depend phase
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 4b831ef..c6bb57e 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh
@@ -1267,7 +1267,7 @@ 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