check_whence.py: LC_ALL=C sort -u the filelist

Sort the file list, so it's easier to manage.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov 2024-09-22 17:29:49 +01:00 committed by Mario Limonciello
parent 8a507494f3
commit 1dbbc8fb82
1 changed files with 7 additions and 7 deletions

View File

@ -73,23 +73,23 @@ def main():
whence_links = list(zip(*links_list))[0] whence_links = list(zip(*links_list))[0]
known_files = set(name for name in whence_list if not name.endswith("/")) | set( known_files = set(name for name in whence_list if not name.endswith("/")) | set(
[ [
".gitignore",
".codespell.cfg", ".codespell.cfg",
".gitignore",
".gitlab-ci.yml", ".gitlab-ci.yml",
".pre-commit-config.yaml", ".pre-commit-config.yaml",
"Dockerfile",
"Makefile",
"README.md",
"WHENCE",
"build_packages.py", "build_packages.py",
"check_whence.py", "check_whence.py",
"configure", "configure",
"Makefile", "contrib/process_linux_firmware.py",
"README.md",
"copy-firmware.sh",
"WHENCE",
"Dockerfile",
"contrib/templates/debian.changelog", "contrib/templates/debian.changelog",
"contrib/templates/debian.control", "contrib/templates/debian.control",
"contrib/templates/debian.copyright", "contrib/templates/debian.copyright",
"contrib/templates/rpm.spec", "contrib/templates/rpm.spec",
"contrib/process_linux_firmware.py", "copy-firmware.sh",
] ]
) )
known_prefixes = set(name for name in whence_list if name.endswith("/")) known_prefixes = set(name for name in whence_list if name.endswith("/"))