From 652e179ae64ace2db7771754cc782eca799b2c30 Mon Sep 17 00:00:00 2001 From: iarspider Date: Fri, 8 May 2020 19:17:48 +0200 Subject: [PATCH] Gaudi: syntax fix (#16523) --- var/spack/repos/builtin/packages/gaudi/package.py | 6 +++--- 1 file 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 @@ def cmake_args(self): 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])