Skip to content

Commit

Permalink
Merge pull request easybuilders#3098 from branfosj/20240128151412_new…
Browse files Browse the repository at this point in the history
…_pr_ant

replace `run_cmd` with `run_shell_cmd` in custom easyblock for ant (`ant.py`)
  • Loading branch information
boegel authored Jan 29, 2024
2 parents b96c726 + ad1fe81 commit 0494dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/a/ant.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from easybuild.easyblocks.generic.packedbinary import PackedBinary
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.modules import get_software_root, get_software_version
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_ant(PackedBinary):
Expand All @@ -58,4 +58,4 @@ def install_step(self):

cmd = "sh build.sh -Ddist.dir=%s dist" % self.installdir

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

0 comments on commit 0494dce

Please sign in to comment.