mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-24 20:12:49 +00:00
fix: verify and add manifests to split packs
This commit is contained in:
parent
70891314d3
commit
67186448a2
1 changed files with 7 additions and 0 deletions
|
|
@ -1497,6 +1497,13 @@ def main():
|
|||
skip_conf = bool(system_filter or args.split)
|
||||
all_ok = verify_and_finalize_packs(args.output_dir, db,
|
||||
skip_conformance=skip_conf)
|
||||
# Also verify split subdirectories
|
||||
if args.split:
|
||||
for entry in os.listdir(args.output_dir):
|
||||
sub = os.path.join(args.output_dir, entry)
|
||||
if os.path.isdir(sub) and entry.endswith("_Split"):
|
||||
ok = verify_and_finalize_packs(sub, db, skip_conformance=True)
|
||||
all_ok = all_ok and ok
|
||||
if not all_ok:
|
||||
print("WARNING: some packs have verification errors")
|
||||
sys.exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue