Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in custom easyblock for Chimer…
Browse files Browse the repository at this point in the history
…a (`chimera.py`)
  • Loading branch information
branfosj committed Jan 29, 2024
1 parent 2d50f44 commit de89711
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions easybuild/easyblocks/c/chimera.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from easybuild.easyblocks.generic.packedbinary import PackedBinary
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.filetools import mkdir, symlink
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_Chimera(PackedBinary):
Expand All @@ -22,7 +22,7 @@ def extract_step(self, verbose=False):
to obtain chimera.bin installer."""

cmd = "unzip -d %s %s" % (self.builddir, self.src[0]['path'])
run_cmd(cmd, log_all=True, simple=True)
run_shell_cmd(cmd)

def install_step(self):
"""Install using chimera.bin."""
Expand All @@ -41,7 +41,7 @@ def install_step(self):
# root directory.
cmd = "./chimera.bin -q -d %s" % os.path.join(self.installdir,
'chimera')
run_cmd(cmd, log_all=True, simple=True)
run_shell_cmd(cmd)

# Create a symlink to the Chimera startup script; this symlink
# will end up in PATH. The startup script sets up the
Expand Down

0 comments on commit de89711

Please sign in to comment.