mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1216901 - Always update backend output list files mtime from the base backend class. r=mshal
Instead of having individual backends do it on their own.
This commit is contained in:
parent
6620849e52
commit
ad084dfa2a
@ -153,7 +153,8 @@ class BuildBackend(LoggingMixin):
|
|||||||
not os.path.exists(self._backend_output_list_file):
|
not os.path.exists(self._backend_output_list_file):
|
||||||
with open(self._backend_output_list_file, 'w') as fh:
|
with open(self._backend_output_list_file, 'w') as fh:
|
||||||
fh.write('\n'.join(sorted(self._backend_output_files)))
|
fh.write('\n'.join(sorted(self._backend_output_files)))
|
||||||
elif self._updated_count:
|
else:
|
||||||
|
# Always update its mtime.
|
||||||
with open(self._backend_output_list_file, 'a'):
|
with open(self._backend_output_list_file, 'a'):
|
||||||
os.utime(self._backend_output_list_file, None)
|
os.utime(self._backend_output_list_file, None)
|
||||||
|
|
||||||
|
@ -850,10 +850,6 @@ class RecursiveMakeBackend(CommonBackend):
|
|||||||
for path in inputs:
|
for path in inputs:
|
||||||
backend_deps.write('%s:\n' % path)
|
backend_deps.write('%s:\n' % path)
|
||||||
|
|
||||||
with open(self._backend_output_list_file, 'a'):
|
|
||||||
pass
|
|
||||||
os.utime(self._backend_output_list_file, None)
|
|
||||||
|
|
||||||
# Make the master test manifest files.
|
# Make the master test manifest files.
|
||||||
for flavor, t in self._test_manifests.items():
|
for flavor, t in self._test_manifests.items():
|
||||||
install_prefix, manifests = t
|
install_prefix, manifests = t
|
||||||
|
Loading…
Reference in New Issue
Block a user