summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-18 04:03:14 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-18 04:03:14 +0000
commitd09e28896228cb0fbef4587ab9fd1c44371461e1 (patch)
treee776ec6d7ef479ab6d116162738d18d1734f0097
parent6f3f3d8517c11ef4f727937a5ba5db020febb061 (diff)
downloadportage-d09e28896228cb0fbef4587ab9fd1c44371461e1.tar.gz
portage-d09e28896228cb0fbef4587ab9fd1c44371461e1.tar.bz2
portage-d09e28896228cb0fbef4587ab9fd1c44371461e1.zip
Prevent "eclass-debug.log: No such file or directory" messages that are produced during the "depend" phase when ${T} doesn't exist.
svn path=/main/trunk/; revision=2931
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 165ff67da..5bc3a6c37 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1092,7 +1092,7 @@ dyn_help() {
debug-print() {
# if $T isn't defined, we're in dep calculation mode and
# shouldn't do anything
- [ -z "$T" ] && return 0
+ [ ! -d "$T" ] && return 0
while [ "$1" ]; do