summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-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])