summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-09-25 18:47:50 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2017-09-25 09:47:50 -0700
commit8864d145e9925a412bd8f023d2e7bd651b2445a4 (patch)
tree1ee4dfce1e51ec24800675962f1579b188424586 /var
parent64311e8510c99dc0e6dac74da2a6d555680eddf5 (diff)
downloadspack-8864d145e9925a412bd8f023d2e7bd651b2445a4.tar.gz
spack-8864d145e9925a412bd8f023d2e7bd651b2445a4.tar.bz2
spack-8864d145e9925a412bd8f023d2e7bd651b2445a4.tar.xz
spack-8864d145e9925a412bd8f023d2e7bd651b2445a4.zip
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.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions