diff options
author | William Deegan <bill@baddogconsulting.com> | 2019-03-02 19:10:59 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2019-03-02 19:10:59 (GMT) |
commit | bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2 (patch) | |
tree | c7bbc1b9f8c3f168203a77b245721449d50d8e5d /src | |
parent | 7ec2458832f757d138a396c0bb1412df5f391c9e (diff) | |
download | SCons-bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2.zip SCons-bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2.tar.gz SCons-bbb5d2ccc6a0b37611b4877d8bb1d6b969da7bf2.tar.bz2 |
Forgot to add current file csig when shortcutting calling changed_content(). Directly calling get_csig() when there is no previous build history
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Node/FS.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index f520af1..61054f3 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -3417,7 +3417,12 @@ class File(Base): # prev_ni as there aren't any # shortcut the rest of the logic if MD5_TIMESTAMP_DEBUG: print("Skipping checks len(dmap)=0") + + # We still need to get the current file's csig + # This should be slightly faster than calling self.changed_content(target, new_prev_ni) + self.get_csig() return True + new_prev_ni = self._get_previous_signatures(dependency_map) new = self.changed_timestamp_match(target, new_prev_ni) |