Skip to content

Commit

Permalink
Merge pull request #3563 from boegel/fix_configuremake
Browse files Browse the repository at this point in the history
fix error reporting for unknown value of `unrecognized_configure_options` in `ConfigureMake`
  • Loading branch information
bartoldeman authored Jan 17, 2025
2 parents 30dba35 + 081a90f commit e15b6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/generic/configuremake.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def configure_step(self, cmd_prefix=''):
valid_actions = (ERROR, WARN, IGNORE)
# Always verify the EC param
if action not in valid_actions:
raise EasyBuildError('Invalid value for `unrecognized_configure_options`: %s. Must be one of: ',
raise EasyBuildError("Invalid value for 'unrecognized_configure_options': %s. Must be one of: %s",
action, ', '.join(valid_actions))
if action != IGNORE:
unrecognized_options_str = 'configure: WARNING: unrecognized options:'
Expand Down

0 comments on commit e15b6ae

Please sign in to comment.