diff --git a/easybuild/easyblocks/g/gurobi.py b/easybuild/easyblocks/g/gurobi.py index 49147d9a2f..7661eb8870 100644 --- a/easybuild/easyblocks/g/gurobi.py +++ b/easybuild/easyblocks/g/gurobi.py @@ -37,7 +37,7 @@ from easybuild.tools.build_log import EasyBuildError from easybuild.tools.filetools import copy_file from easybuild.tools.modules import get_software_root -from easybuild.tools.run import run_cmd +from easybuild.tools.run import run_shell_cmd class EB_Gurobi(Tarball): @@ -76,7 +76,7 @@ def install_step(self): copy_file(self.orig_license_file, self.license_file) if get_software_root('Python'): - run_cmd("python setup.py install --prefix=%s" % self.installdir) + run_shell_cmd("python setup.py install --prefix=%s" % self.installdir) def sanity_check_step(self): """Custom sanity check for Gurobi."""