Merge branch 'robot/patch-10-1707787255' into 'main'
robot/patch-10-1707787255 See merge request kernel-firmware/linux-firmware!146
This commit is contained in:
commit
8acf0a98db
|
@ -70,6 +70,7 @@ def main():
|
||||||
whence_list = list(list_whence())
|
whence_list = list(list_whence())
|
||||||
whence_files = list(list_whence_files())
|
whence_files = list(list_whence_files())
|
||||||
links_list = list(list_links_list())
|
links_list = list(list_links_list())
|
||||||
|
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",
|
".gitignore",
|
||||||
|
@ -102,6 +103,10 @@ def main():
|
||||||
sys.stderr.write("E: %s listed in WHENCE twice\n" % name)
|
sys.stderr.write("E: %s listed in WHENCE twice\n" % name)
|
||||||
ret = 1
|
ret = 1
|
||||||
|
|
||||||
|
for name in set(link for link in whence_links if whence_links.count(link) > 1):
|
||||||
|
sys.stderr.write("E: %s listed in WHENCE twice\n" % name)
|
||||||
|
ret = 1
|
||||||
|
|
||||||
for name in set(link for link in whence_files if os.path.islink(link)):
|
for name in set(link for link in whence_files if os.path.islink(link)):
|
||||||
sys.stderr.write("E: %s listed in WHENCE as File, but is a symlink\n" % name)
|
sys.stderr.write("E: %s listed in WHENCE as File, but is a symlink\n" % name)
|
||||||
ret = 1
|
ret = 1
|
||||||
|
|
Loading…
Reference in New Issue