From f27ed063be6a4703b3306a091ce7d5ed328eba98 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 17 Apr 2010 03:28:50 -0400 Subject: [PATCH] Added fix for TeX includes with same name as subdirs. --- src/engine/SCons/Tool/tex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Tool/tex.py b/src/engine/SCons/Tool/tex.py index 3a84d216..05c58ac9 100644 --- a/src/engine/SCons/Tool/tex.py +++ b/src/engine/SCons/Tool/tex.py @@ -150,7 +150,7 @@ def FindFile(name,suffixes,paths,env,requireExt=False): testName = os.path.join(path,name) if Verbose: print " look for '%s'" % testName - if os.path.exists(testName): + if os.path.exists(testName) and not os.path.isdir(testName): if Verbose: print " found '%s'" % testName return env.fs.File(testName) -- 2.26.2