diff options
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r-- | src/engine/SCons/Executor.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py index 7d331c1..9a4f7f0 100644 --- a/src/engine/SCons/Executor.py +++ b/src/engine/SCons/Executor.py @@ -160,12 +160,12 @@ class Executor: us = [] ut = [] for b in self.batches: - if b.targets[0].changed(): - cs.extend(map(rfile, b.sources)) - ct.extend(b.targets) - else: + if b.targets[0].is_up_to_date(): us.extend(map(rfile, b.sources)) ut.extend(b.targets) + else: + cs.extend(map(rfile, b.sources)) + ct.extend(b.targets) self._changed_sources_list = SCons.Util.NodeList(cs) self._changed_targets_list = SCons.Util.NodeList(ct) self._unchanged_sources_list = SCons.Util.NodeList(us) |