Skip to content

Commit

Permalink
Merge pull request #3101 from branfosj/20240128172051_new_pr_bzip2
Browse files Browse the repository at this point in the history
replace `run_cmd` with `run_shell_cmd` in custom easyblock for bzip2 (`bzip2.py`)
  • Loading branch information
boegel authored Jan 29, 2024
2 parents aab8b3f + 44197ad commit 38bbbbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/b/bzip2.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from easybuild.easyblocks.generic.configuremake import ConfigureMake
from easybuild.framework.easyconfig import CUSTOM
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd
from easybuild.tools.systemtools import get_shared_lib_ext


Expand Down Expand Up @@ -70,7 +70,7 @@ def install_step(self):
if self.cfg['with_shared_libs']:

cmd = "%s make -f Makefile-libbz2_so %s" % (self.cfg['prebuildopts'], self.cfg['buildopts'])
run_cmd(cmd, log_all=True, simple=True)
run_shell_cmd(cmd)

# copy shared libraries to <install dir>/lib
shlib_ext = get_shared_lib_ext()
Expand Down

0 comments on commit 38bbbbd

Please sign in to comment.