Skip to content

Commit f453819

Browse files
authored
Merge pull request #4063 from branfosj/20220818090519_new_pr_eIkQwACdZV
ensure we call EasyBlock.patch_step for postinstallpatches
2 parents e6f80db + 37eef32 commit f453819

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
@@ -2876,7 +2876,9 @@ def apply_post_install_patches(self, patches=None):
28762876

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

28812883
def post_install_step(self):
28822884
"""

0 commit comments

Comments
 (0)