Skip to content

Commit 37eef32

Browse files
committed
ensure we call EasyBlock.patch_step for postinstallpatches
1 parent a8c0cad commit 37eef32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2875,7 +2875,9 @@ def apply_post_install_patches(self, patches=None):
28752875

28762876
self.log.debug("Post-install patches to apply: %s", patches)
28772877
if patches:
2878-
self.patch_step(beginpath=self.installdir, patches=patches)
2878+
# self may be inherited from the Bundle easyblock and that patch_step is a no-op
2879+
# To allow postinstallpatches for Bundle, and derived, easyblocks we directly call EasyBlock.patch_step
2880+
EasyBlock.patch_step(self, beginpath=self.installdir, patches=patches)
28792881

28802882
def post_install_step(self):
28812883
"""

0 commit comments

Comments
 (0)