Skip to content

Commit

Permalink
replace run_cmd with run_shell_cmd in custom easyblock for QScint…
Browse files Browse the repository at this point in the history
…illa (`qscintilla.py`)
  • Loading branch information
branfosj committed Feb 3, 2024
1 parent dcd646c commit 43f1514
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions easybuild/easyblocks/q/qscintilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.filetools import apply_regex_substitutions, mkdir, symlink, write_file, find_glob_pattern
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
from easybuild.tools.systemtools import get_shared_lib_ext


Expand Down Expand Up @@ -86,7 +86,7 @@ def configure_step(self):
]
apply_regex_substitutions('qscintilla.pro', regex_subs)

run_cmd("qmake qscintilla.pro")
run_shell_cmd("qmake qscintilla.pro")

def build_step(self):
"""Custom build procedure for QScintilla."""
Expand Down Expand Up @@ -155,7 +155,7 @@ def install_step(self):
if LooseVersion(self.version) >= LooseVersion('2.11'):
cfgopts.append("--pyqt=%s" % self.pyqt_pkg_name)

run_cmd("python configure.py %s" % ' '.join(cfgopts))
run_shell_cmd("python configure.py %s" % ' '.join(cfgopts))

super(EB_QScintilla, self).build_step()
super(EB_QScintilla, self).install_step()
Expand Down

0 comments on commit 43f1514

Please sign in to comment.