summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/pbsuite/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pbsuite/package.py b/var/spack/repos/builtin/packages/pbsuite/package.py
index ad7a4dd3d2..0b5c22c91f 100644
--- a/var/spack/repos/builtin/packages/pbsuite/package.py
+++ b/var/spack/repos/builtin/packages/pbsuite/package.py
@@ -25,4 +25,4 @@ class Pbsuite(Package):
install_tree('bin', prefix.bin)
def setup_environment(self, spack_env, run_env):
- run_env.set('PYTHONPATH', self.prefix)
+ run_env.prepend_path('PYTHONPATH', self.prefix)