diff options
Diffstat (limited to 'third_party/scons')
-rw-r--r-- | third_party/scons/scons-local/SCons/Node/FS.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/scons/scons-local/SCons/Node/FS.py b/third_party/scons/scons-local/SCons/Node/FS.py index 218542e..6bb6f59e 100644 --- a/third_party/scons/scons-local/SCons/Node/FS.py +++ b/third_party/scons/scons-local/SCons/Node/FS.py @@ -1897,6 +1897,10 @@ class Dir(Base): entry_names = filter(lambda n: n not in ('.', '..'), dir.entries.keys()) node_names = map(lambda n, e=dir.entries: e[n].name, entry_names) names.extend(node_names) + if not strings: + # Make sure the working directory (self) actually has + # entries for all Nodes in repositories or variant dirs. + map(self.Entry, node_names) if ondisk: try: disk_names = os.listdir(dir.abspath) |