Skip to content

Commit 77c7161

Browse files
committed
trigger post_easyblock_hook later
1 parent 7a819a3 commit 77c7161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5126,8 +5126,6 @@ def ensure_writable_log_dir(log_dir):
51265126
except EasyBuildError as err:
51275127
_log.warning("Unable to commit easyconfig to repository: %s", err)
51285128

5129-
run_hook(EASYBLOCK, hooks, post_step_hook=True, args=[app])
5130-
51315129
# cleanup logs
51325130
app.close_log()
51335131

@@ -5201,6 +5199,8 @@ def ensure_writable_log_dir(log_dir):
52015199
if not success:
52025200
copy_build_dirs_logs_failed_install(application_log, silent, app, ecdict['ec'])
52035201

5202+
run_hook(EASYBLOCK, hooks, post_step_hook=True, args=[app])
5203+
52045204
del app
52055205

52065206
return (success, application_log, error_msg, exit_code)

0 commit comments

Comments
 (0)