diff options
author | Samuel Browne <sebrown@sandia.gov> | 2024-09-24 16:37:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 15:37:52 -0600 |
commit | 022eca1cfe5156c1552e62d08207c61b75924630 (patch) | |
tree | 41a9e7a2977f40a5dc0048da271c17e6b4978f23 /var | |
parent | f49b10ee43d5e67f67fdb5a0062267f355921efb (diff) | |
download | spack-022eca1cfe5156c1552e62d08207c61b75924630.tar.gz spack-022eca1cfe5156c1552e62d08207c61b75924630.tar.bz2 spack-022eca1cfe5156c1552e62d08207c61b75924630.tar.xz spack-022eca1cfe5156c1552e62d08207c61b75924630.zip |
Fix off-by-one padding bug (#46560)
If `add_padding()` is allowed to return a path with a trailing path
separator, it will get collapsed elsewhere in Spack. This can lead to
buildcache entries that have RPATHS that are too short to be replaced by
other users whose install root happens to be padded to the correct
length. Detect this and replace the trailing path separator with a
concrete path character.
Signed-off-by: Samuel E. Browne <sebrown@sandia.gov>
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions