Prevent "eclass-debug.log: No such file or directory" messages that are produced...
authorZac Medico <zmedico@gentoo.org>
Sat, 18 Mar 2006 04:03:14 +0000 (04:03 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 18 Mar 2006 04:03:14 +0000 (04:03 -0000)
svn path=/main/trunk/; revision=2931

bin/ebuild.sh

index 165ff67da07422af97d9bc006f605b6ead47ba86..5bc3a6c378cb9e338f0deebdb91ca88fbccac959 100755 (executable)
@@ -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