spack/lib/spack
Massimiliano Culpo 8864d145e9 module files: system paths are excluded from path inspection (#5460)
closes #5201

Currently, if a user sets an external package to have a prefix that is
one of the system paths (like '/usr') the module files that are
generated will prepend '/usr/bin' to 'PATH', etc. This is particularly
nasty at the time when a module file is unloaded, and e.g. paths like
'/usr/bin' will be discarded from PATH.

This PR solves the issue skipping system paths when a prefix inspection
is made to generate module files.
2017-09-25 09:47:50 -07:00
..
docs update Blas/Lapack section of packaging guide (#5383) 2017-09-20 15:40:20 -07:00
env Update copyright notices for 2017 (#5295) 2017-09-06 17:44:16 -10:00
external Modulefiles generated with a template engine (#3183) 2017-09-19 12:34:20 -07:00
llnl Fix name detection in HeaderList and LibraryList (#5118) 2017-09-09 22:22:56 +02:00
spack module files: system paths are excluded from path inspection (#5460) 2017-09-25 09:47:50 -07:00