Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in custom easyblock for FLUENT…
Browse files Browse the repository at this point in the history
… (`fluent.py`)
  • Loading branch information
branfosj committed Feb 1, 2024
1 parent dcd646c commit dd1e3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/f/fluent.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.framework.easyconfig import CUSTOM
from easybuild.tools.filetools import adjust_permissions
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_FLUENT(PackedBinary):
Expand Down Expand Up @@ -64,7 +64,7 @@ def install_step(self):
extra_args += '-noroot'

cmd = "./INSTALL %s -debug -silent -install_dir %s %s" % (extra_args, self.installdir, self.cfg['installopts'])
run_cmd(cmd, log_all=True, simple=True)
run_shell_cmd(cmd)

adjust_permissions(self.installdir, stat.S_IWOTH, add=False)

Expand Down

0 comments on commit dd1e3e0

Please sign in to comment.