Ensure sbin is prepended to PATH in modulefiles (#3843)
This commit is contained in:
parent
eaefaaba5b
commit
13fef18244
@ -42,3 +42,7 @@ class Nginx(AutotoolsPackage):
|
|||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = ['--with-http_ssl_module']
|
args = ['--with-http_ssl_module']
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
def setup_environment(self, spack_env, run_env):
|
||||||
|
"""Prepend the sbin directory to PATH."""
|
||||||
|
run_env.prepend_path('PATH', join_path(self.prefix, 'sbin'))
|
||||||
|
Loading…
Reference in New Issue
Block a user