mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
patchupdate.py: Delete outdated cache information after each run.
This commit is contained in:
parent
456eb2f553
commit
22331fa377
4
debian/tools/patchupdate.py
vendored
4
debian/tools/patchupdate.py
vendored
@ -647,6 +647,10 @@ def generate_script(all_patches, skip_checks=False):
|
||||
# Update the dependency cache
|
||||
dependency_cache[filename] = unique_hash
|
||||
|
||||
# Delete outdated cache information
|
||||
for filename in dependency_cache.keys():
|
||||
if not modified_files.has_key(filename):
|
||||
del dependency_cache[filename]
|
||||
finally:
|
||||
pool.close()
|
||||
_save_dict(config.path_cache, dependency_cache)
|
||||
|
Loading…
x
Reference in New Issue
Block a user