summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmjad Kotobi <amjadkotbi@gmail.com>2020-04-20 23:19:55 +0200
committerGitHub <noreply@github.com>2020-04-20 16:19:55 -0500
commita70e76d043a452bcd3962896fa7281e4499fc2af (patch)
tree183072a9287dd2b3330a06f7c3d26a5ca7385508
parent8635c0d804ee0f143e36b08e99b19e83652d27a3 (diff)
downloadspack-a70e76d043a452bcd3962896fa7281e4499fc2af.tar.gz
spack-a70e76d043a452bcd3962896fa7281e4499fc2af.tar.bz2
spack-a70e76d043a452bcd3962896fa7281e4499fc2af.tar.xz
spack-a70e76d043a452bcd3962896fa7281e4499fc2af.zip
Package Bonniepp adding sbin to PATH (#16124)
-rw-r--r--var/spack/repos/builtin/packages/bonniepp/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bonniepp/package.py b/var/spack/repos/builtin/packages/bonniepp/package.py
index 18751810fc..6a33a15ea7 100644
--- a/var/spack/repos/builtin/packages/bonniepp/package.py
+++ b/var/spack/repos/builtin/packages/bonniepp/package.py
@@ -19,3 +19,7 @@ class Bonniepp(AutotoolsPackage):
configure_args = []
configure_args.append('--enable-debug')
return configure_args
+
+ def setup_run_environment(self, env):
+ """Prepend the sbin directory to PATH."""
+ env.prepend_path('PATH', self.prefix.sbin)