Skip to content

Commit

Permalink
Convert CmdCp 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 a4485b4 commit 4a3442f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/generic/cmdcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from easybuild.easyblocks.generic.makecp import MakeCp
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


class CmdCp(MakeCp):
Expand Down Expand Up @@ -80,4 +80,4 @@ def build_step(self):
raise EasyBuildError("No match for %s in %s, don't know which command to use.",
src, self.cfg['cmds_map'])

run_cmd(cmd, log_all=True, simple=True)
run_shell_cmd(cmd)

0 comments on commit 4a3442f

Please sign in to comment.