diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2021-05-10 10:36:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 10:36:53 -0700 |
commit | 4903eabc7accf40510df23bca331daa8e363a562 (patch) | |
tree | a9f1cf7c24c092ec6a139c06ae3138b3eccf4a84 /lib | |
parent | ccdda9a74ef13c12506718d33b4c4ab0151363e2 (diff) | |
download | spack-4903eabc7accf40510df23bca331daa8e363a562.tar.gz spack-4903eabc7accf40510df23bca331daa8e363a562.tar.bz2 spack-4903eabc7accf40510df23bca331daa8e363a562.tar.xz spack-4903eabc7accf40510df23bca331daa8e363a562.zip |
compare full old_prefix and new_prefix instead of layout_root (#23506)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/binary_distribution.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py index d23d0ba86a..1ac89b615c 100644 --- a/lib/spack/spack/binary_distribution.py +++ b/lib/spack/spack/binary_distribution.py @@ -1178,7 +1178,7 @@ def relocate_package(spec, allow_root): text_names.append(text_name) # If we are not installing back to the same install tree do the relocation - if old_layout_root != new_layout_root: + if old_prefix != new_prefix: files_to_relocate = [os.path.join(workdir, filename) for filename in buildinfo.get('relocate_binaries') ] |