Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in ansys.py
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj committed Jan 28, 2024
1 parent f1221e2 commit 62d26f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/a/ansys.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from easybuild.easyblocks.generic.packedbinary import PackedBinary
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.filetools import adjust_permissions
from easybuild.tools.run import run_cmd
from easybuild.tools.run import run_shell_cmd


class EB_ANSYS(PackedBinary):
Expand All @@ -59,7 +59,7 @@ def install_step(self):
# Sources (e.g. iso files) may drop the execute permissions
adjust_permissions('INSTALL', stat.S_IXUSR)
cmd = "./INSTALL -silent -install_dir %s -licserverinfo %s:%s" % (self.installdir, licport, licserv)
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 62d26f7

Please sign in to comment.