aedi: patch source for static moltenvk when size or time differs

This commit is contained in:
alexey.lysiuk 2022-10-11 10:08:56 +03:00
parent 5bb2313ba1
commit b0a80555c2

View file

@ -131,7 +131,7 @@ class ZDoomVulkanBaseTarget(ZDoomBaseTarget):
src_stat = os.stat(src)
dst_stat = os.stat(dst)
if src_stat.st_mtime != dst_stat.st_mtime:
if src_stat.st_size != dst_stat.st_size or src_stat.st_mtime != dst_stat.st_mtime:
shutil.copy2(src, dst)
super().configure(state)