diff options
-rw-r--r-- | src/engine/SCons/Node/FS.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index 7461710..4e78852 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -2185,8 +2185,8 @@ class Dir(Base): excludes = [] excludeList = SCons.Util.flatten(exclude) for x in excludeList: - r = self.glob(x, ondisk, source, strings) - excludes.extend(r) + r = self.glob(x, ondisk, source, strings) + excludes.extend(r) result = filter(lambda x: not any(fnmatch.fnmatch(str(x), str(e)) for e in SCons.Util.flatten(excludes)), result) return sorted(result, key=lambda a: str(a)) |