Ensure sbin is prepended to PATH in modulefiles (#3843)

This commit is contained in:
George Hartzell 2017-04-19 04:51:04 -07:00 committed by Adam J. Stewart
parent eaefaaba5b
commit 13fef18244

View File

@ -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'))