Skip to content

Commit 09e60d7

Browse files
committed
Allow partially resolved source_urls
1 parent bf38429 commit 09e60d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/easyblocks/generic/bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ def __init__(self, *args, **kwargs):
168168
# are correctly resolved with the component name/version before values are copied over to self.cfg
169169
with comp_cfg.allow_unresolved_templates():
170170
comp_sources = comp_cfg['sources']
171+
comp_source_urls = comp_cfg['source_urls']
171172
if not comp_sources:
172173
raise EasyBuildError("No sources specification for component %s v%s", comp_name, comp_version)
173174
# If per-component source URLs are provided, attach them directly to the relevant sources
174-
comp_source_urls = comp_cfg['source_urls']
175175
if comp_source_urls:
176176
for source in comp_sources:
177177
if isinstance(source, str):

0 commit comments

Comments
 (0)