We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4b167 commit 90139f8Copy full SHA for 90139f8
tools/file_packager.py
@@ -521,6 +521,10 @@ def was_seen(name):
521
seen.add(name)
522
return False
523
524
+ # The files are sorted by the dstpath to make the order of files reproducible
525
+ # across file systems / operating systems (os.walk does not produce the same
526
+ # file order on different file systems / operating systems)
527
+ data_files = sorted(data_files, key=lambda file_: file_.dstpath)
528
data_files = [file_ for file_ in data_files if not was_seen(file_.dstpath)]
529
530
if AV_WORKAROUND:
0 commit comments