Skip to content

Commit 0b3abd3

Browse files
committed
Keep symlinks when copying build dirs of failed installations
1 parent 68f9650 commit 0b3abd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4922,7 +4922,7 @@ def copy_build_dirs_logs_failed_install(application_log, silent, app, easyconfig
49224922
msg = f"Build directory of failed installation copied to {build_dirs_path}"
49234923

49244924
def operation(src, dest):
4925-
copy_dir(src, dest, dirs_exist_ok=True)
4925+
copy_dir(src, dest, dirs_exist_ok=True, symlinks=True)
49264926

49274927
operation_args.append((operation, [app.builddir], build_dirs_path, msg))
49284928

0 commit comments

Comments
 (0)