From 9611626f732eddb66f9f6d7bf8a8101e47516c9b Mon Sep 17 00:00:00 2001 From: Simon Branford Date: Sat, 3 Feb 2024 09:45:56 +0000 Subject: [PATCH] replace `run_cmd` with `run_shell_cmd` in custom easyblock for STAR-CCM+ (`star_ccm.py`) --- easybuild/easyblocks/s/star_ccm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easybuild/easyblocks/s/star_ccm.py b/easybuild/easyblocks/s/star_ccm.py index b4993bb23a..574b1972e6 100644 --- a/easybuild/easyblocks/s/star_ccm.py +++ b/easybuild/easyblocks/s/star_ccm.py @@ -34,7 +34,7 @@ from easybuild.framework.easyblock import EasyBlock from easybuild.tools.config import build_option from easybuild.tools.filetools import change_dir, find_glob_pattern -from easybuild.tools.run import run_cmd +from easybuild.tools.run import run_shell_cmd class EB_STAR_minus_CCM_plus_(EasyBlock): @@ -81,7 +81,7 @@ def install_step(self): # ignore exit code of command, since there's always a non-zero exit if $CHECK_DISK_SPACE is set to OFF; # rely on sanity check to catch problems with the installation - run_cmd(cmd, log_all=False, log_ok=False, simple=False) + run_shell_cmd(cmd, fail_on_error=False) def find_starccm_subdirs(self): """Determine subdirectory of install directory in which STAR-CCM+ was installed."""