spack/lib/spack
Matthias Wolf a7f39da5db
Fix path handling in prefix inspections (#35318)
At least with ZSH, prefix inspections containing `./bin` result in a
`$PREFIX/./bin` and result in strange `$PATH` handling.

I.e., `module load git` will prepend `/path/to/git/./bin`, `which git`
will find the right executable, but `git --version` will print the
system one. Normalize the relative path to avoid this behavior.

See also spack/spack#31867.
2023-02-06 19:12:30 -08:00
..
docs Add a maintainers directive (#35083) 2023-01-27 07:51:24 +01:00
env license year bump (#34921) 2023-01-18 14:30:17 -08:00
external license year bump (#34921) 2023-01-18 14:30:17 -08:00
llnl license year bump (#34921) 2023-01-18 14:30:17 -08:00
spack Fix path handling in prefix inspections (#35318) 2023-02-06 19:12:30 -08:00
spack_installable license year bump (#34921) 2023-01-18 14:30:17 -08:00