diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py index 209a720df91..e87a4c7391d 100644 --- a/lib/spack/spack/binary_distribution.py +++ b/lib/spack/spack/binary_distribution.py @@ -415,7 +415,7 @@ def relocate_package(workdir, allow_root): new_path = spack.store.layout.root old_path = buildinfo['buildpath'] rel = buildinfo.get('relative_rpaths', False) - if new_path == old_path and not rel: + if rel: return tty.msg("Relocating package from",