Relative paths in default prefix_inspections start with ./ (#31867)

This commit is contained in:
Harmen Stoppels 2022-08-23 21:54:12 +02:00 committed by GitHub
parent 707a099b69
commit 8af3743e91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11 deletions

View file

@ -15,7 +15,7 @@
# -------------------------------------------------------------------------
modules:
prefix_inspections:
lib:
./lib:
- DYLD_FALLBACK_LIBRARY_PATH
lib64:
./lib64:
- DYLD_FALLBACK_LIBRARY_PATH

View file

@ -14,23 +14,24 @@
# ~/.spack/modules.yaml
# -------------------------------------------------------------------------
modules:
# Paths to check when creating modules for all module sets
# This maps paths in the package install prefix to environment variables
# they should be added to. For example, <prefix>/bin should be in PATH.
prefix_inspections:
bin:
./bin:
- PATH
man:
./man:
- MANPATH
share/man:
./share/man:
- MANPATH
share/aclocal:
./share/aclocal:
- ACLOCAL_PATH
lib/pkgconfig:
./lib/pkgconfig:
- PKG_CONFIG_PATH
lib64/pkgconfig:
./lib64/pkgconfig:
- PKG_CONFIG_PATH
share/pkgconfig:
./share/pkgconfig:
- PKG_CONFIG_PATH
'':
./:
- CMAKE_PREFIX_PATH
# These are configurations for the module set named "default"