summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-05-08 19:17:48 +0200
committerGitHub <noreply@github.com>2020-05-08 12:17:48 -0500
commit652e179ae64ace2db7771754cc782eca799b2c30 (patch)
tree8979f91a9b21286537542d3106fad966743f3425
parent33e88db2d67758c3a565f99626dee0aa4cc8859d (diff)
downloadspack-652e179ae64ace2db7771754cc782eca799b2c30.tar.gz
spack-652e179ae64ace2db7771754cc782eca799b2c30.tar.bz2
spack-652e179ae64ace2db7771754cc782eca799b2c30.tar.xz
spack-652e179ae64ace2db7771754cc782eca799b2c30.zip
Gaudi: syntax fix (#16523)
-rw-r--r--var/spack/repos/builtin/packages/gaudi/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/gaudi/package.py b/var/spack/repos/builtin/packages/gaudi/package.py
index beae99c3cd..ba8b8bcf63 100644
--- a/var/spack/repos/builtin/packages/gaudi/package.py
+++ b/var/spack/repos/builtin/packages/gaudi/package.py
@@ -102,9 +102,9 @@ class Gaudi(CMakePackage):
def setup_run_environment(self, env):
# environment as in Gaudi.xenv
- env.prepend.path('PATH', self.prefix.scripts)
- env.prepend.path('PYTHONPATH', self.prefix.python)
- env.prepend.path('ROOT_INCLUDE_PATH', self.prefix.include)
+ env.prepend_path('PATH', self.prefix.scripts)
+ env.prepend_path('PYTHONPATH', self.prefix.python)
+ env.prepend_path('ROOT_INCLUDE_PATH', self.prefix.include)
def url_for_version(self, version):
major = str(version[0])