From: Zac Medico Date: Sat, 18 Mar 2006 04:03:14 +0000 (-0000) Subject: Prevent "eclass-debug.log: No such file or directory" messages that are produced... X-Git-Tag: v2.1_pre7~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d09e28896228cb0fbef4587ab9fd1c44371461e1;p=portage.git 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 --- 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