Skip to content

Commit

Permalink
Convert Binary easyblock to run_shell_cmd.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoldeman committed Dec 6, 2023
1 parent 93de2a9 commit a4485b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/generic/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
from easybuild.framework.easyconfig import CUSTOM
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.filetools import adjust_permissions, copy_file, mkdir, remove_dir
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


PREPEND_TO_PATH_DEFAULT = ['']
Expand Down Expand Up @@ -126,7 +126,7 @@ def install_step(self):
for install_cmd in install_cmds:
cmd = ' '.join([self.cfg['preinstallopts'], install_cmd, self.cfg['installopts']])
self.log.info("Running install command for %s: '%s'..." % (self.name, cmd))
run_cmd(cmd, log_all=True, simple=True)
run_shell_cmd(cmd)
else:
raise EasyBuildError("Incorrect value type for install_cmds, should be list or tuple: ",
install_cmds)
Expand Down

0 comments on commit a4485b4

Please sign in to comment.