Miscs changes (Interro22)
This commit is contained in:
+5
-1
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user