summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvolkl <valentin.volkl@cern.ch>2020-11-07 21:06:41 +0100
committerGitHub <noreply@github.com>2020-11-07 14:06:41 -0600
commit1d7d4a90711c1e857a86287eb8ba4fdf355090e2 (patch)
tree81dfaadfe760a96ef952eaa925e55e380b921383
parente87266c64637eeed1a2da469738ddf8d6520f25e (diff)
downloadspack-1d7d4a90711c1e857a86287eb8ba4fdf355090e2.tar.gz
spack-1d7d4a90711c1e857a86287eb8ba4fdf355090e2.tar.bz2
spack-1d7d4a90711c1e857a86287eb8ba4fdf355090e2.tar.xz
spack-1d7d4a90711c1e857a86287eb8ba4fdf355090e2.zip
[evtgen] add env var (#19787)
* [evtgen] add env var * Update var/spack/repos/builtin/packages/evtgen/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/evtgen/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/evtgen/package.py b/var/spack/repos/builtin/packages/evtgen/package.py
index 514fe02626..641d3d5795 100644
--- a/var/spack/repos/builtin/packages/evtgen/package.py
+++ b/var/spack/repos/builtin/packages/evtgen/package.py
@@ -53,3 +53,6 @@ class Evtgen(AutotoolsPackage):
# due to libext_shared depending on lib_shared
make('lib_shared')
make('all')
+
+ def setup_run_environment(self, env):
+ env.set("EVTGEN", self.prefix.share)