Skip to content

Commit 1ccf30a

Browse files
committed
also copy patches of extensions to easybuild subdir of installation dir
1 parent 7a819a3 commit 1ccf30a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5144,7 +5144,10 @@ def ensure_writable_log_dir(log_dir):
51445144
_log.debug("Copied easyconfig file %s to %s", spec, newspec)
51455145

51465146
# copy patches
5147-
for patch in app.patches:
5147+
patches = app.patches
5148+
for ext in app.exts:
5149+
patches += ext.get('patches', [])
5150+
for patch in patches:
51485151
target = os.path.join(new_log_dir, os.path.basename(patch['path']))
51495152
copy_file(patch['path'], target)
51505153
_log.debug("Copied patch %s to %s", patch['path'], target)

0 commit comments

Comments
 (0)