Skip to content

Commit

Permalink
make both code paths work
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj authored Feb 3, 2024
1 parent 0c8ff28 commit fa33922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/easyblocks/s/slepc.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def configure_step(self):
# run configure without --prefix (required)
cmd = "%s ./configure %s" % (self.cfg['preconfigopts'], self.cfg['configopts'])
res = run_shell_cmd(cmd)
out = res.output
else:
# regular './configure --prefix=X' for non-source install

Expand All @@ -96,7 +97,7 @@ def configure_step(self):

# check for errors in configure
error_regexp = re.compile("ERROR")
if error_regexp.search(res.output):
if error_regexp.search(out):
raise EasyBuildError("Error(s) detected in configure output!")

# define $PETSC_ARCH
Expand Down

0 comments on commit fa33922

Please sign in to comment.