Skip to content

Commit

Permalink
use proper fix for the yes|no check, taking into account that the val…
Browse files Browse the repository at this point in the history
…ues are concatened
  • Loading branch information
bedroge committed Oct 29, 2024
1 parent 80c3995 commit f23d154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/s/score_p.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def configure_step(self, *args, **kwargs):
# Let configure scripts specifically check for yes|no instead of *yes*|*no*,
# to prevent errors for certain dependencies installed in a path that includes "yes" or "no"
# see https://gitlab.com/score-p/scorep/-/issues/1008
yes_no_regex = (r'\*yes\*\|\*no\*', r'yes|no')
yes_no_regex = (r'\*yes\*\|\*no\*', r'yes,\*\|no,\*\|\*,yes\|\*,no')
configure_scripts = glob.glob(os.path.join(self.start_dir, 'build-*', 'configure'))
for configure_script in configure_scripts:
apply_regex_substitutions(configure_script, [yes_no_regex])
Expand Down

0 comments on commit f23d154

Please sign in to comment.