File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3662,7 +3662,8 @@ def parse_hook(ec):
36623662 print(ec['postinstallcmds'][-1])
36633663
36643664 def pre_build_and_install_loop_hook(ecs):
3665- print(f"installing {len(ecs)} easyconfigs: {' '.join(ec[1]['full_mod_name'] for ec in ecs)}")
3665+ mod_names = ' '.join(ec['full_mod_name'] for ec in ecs)
3666+ print(f"installing {len(ecs)} easyconfigs: {mod_names}")
36663667
36673668 def pre_easyblock_hook(self):
36683669 print(f'starting installation of {self.name} {self.version}')
@@ -3715,7 +3716,8 @@ def post_easyblock_hook(self):
37153716 print(f'done with installation of {self.name} {self.version}')
37163717
37173718 def post_build_and_install_loop_hook(ecs):
3718- print(f"done with installing {len(ecs)} easyconfigs: {' '.join(ec[1]['full_mod_name'] for ec in ecs)}")
3719+ mod_names = ' '.join(ec[0]['full_mod_name'] for ec in ecs)
3720+ print(f"done with installing {len(ecs)} easyconfigs: {mod_names}")
37193721 """ )
37203722 write_file (hooks_file , hooks_file_txt )
37213723
You can’t perform that action at this time.
0 commit comments