Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in adf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj committed Jan 27, 2024
1 parent f1221e2 commit 452ed57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions easybuild/easyblocks/a/adf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import easybuild.tools.environment as env
from easybuild.framework.easyblock import EasyBlock
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_ADF(EasyBlock):
Expand Down Expand Up @@ -63,7 +63,7 @@ def configure_step(self):
raise EasyBuildError("No or non-existing license file specified: %s", self.cfg['license_file'])

cmd = './Install/configure'
run_cmd(cmd, log_all=True, simple=True, log_ok=True)
run_shell_cmd(cmd)

def build_step(self):
"""No separate custom build procedure for ADF, see install step."""
Expand All @@ -81,7 +81,7 @@ def install_step(self):
raise EasyBuildError("Failed to copy %s to %s: %s", src_init_path, target_init_path, err)

cmd = "./bin/foray -j %d" % self.cfg['parallel']
run_cmd(cmd, log_all=True, simple=True, log_ok=True)
run_cmd(cmd)

def sanity_check_step(self):
"""Custom sanity check for ADF."""
Expand Down

0 comments on commit 452ed57

Please sign in to comment.