Skip to content

Commit db4310e

Browse files
committed
Allow for specifying EasyConfigs in the yaml file both with and without .eb extesion
1 parent 75a5532 commit db4310e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

easybuild/framework/easystack.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,10 @@ def compose_ec_filenames(self):
8888

8989
# entries specified via 'easyconfigs' top-level key
9090
for ec in self.easyconfigs:
91-
ec_filenames.append(ec + '.eb')
92-
91+
if not ec.endswith('.eb'):
92+
ec_filenames.append(ec + '.eb')
93+
else:
94+
ec_filenames.append(ec)
9395
return ec_filenames
9496

9597
# flags applicable to all sw (i.e. robot)

0 commit comments

Comments
 (0)