Miscs changes (Interro22)

This commit is contained in:
2026-03-17 14:19:43 +01:00
parent e703662d9e
commit ebc7a9aadc
10 changed files with 129 additions and 95 deletions
+5 -1
View File
@@ -68,7 +68,11 @@ def main():
dest_path = os.path.join(target_subdir, dest_folder_name)
os.makedirs(dest_path, exist_ok=True)
print(f"Linking '{source_folder}' -> '{dest_path}'")
common = os.path.commonpath([source_folder, dest_path])
s = os.path.relpath(source_folder, common)
d = os.path.relpath(dest_path, common)
print(f"Linking '{s}' -> '{d}'")
# Link configuration: (source_filename, dest_filename)
links = [