Skip to content

Commit

Permalink
MAINT: Sort input file list
Browse files Browse the repository at this point in the history
so that mumble_flags.qrc builds in a reproducible way
in spite of non-deterministic filesystem readdir order

See https://reproducible-builds.org/ for why this is good.
  • Loading branch information
bmwiedemann committed Jun 9, 2023
1 parent 82bcd1e commit 5c2e2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_flag_qrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main():
# Get a list of all flag SVGs
flags = []

for fn in os.listdir(args.flag_dir):
for fn in sorted(os.listdir(args.flag_dir)):
if not fn.lower().endswith('svg'):
continue

Expand Down

0 comments on commit 5c2e2dd

Please sign in to comment.