We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf7f1e0 commit 8576e76Copy full SHA for 8576e76
lib/spack/spack/binary_distribution.py
@@ -182,7 +182,7 @@ def relocate_package(package):
182
Relocate the given package
183
"""
184
buildinfo = read_buildinfo_file(package)
185
- new_path = spack.store.layout.install_path
+ new_path = spack.store.layout.path_for_spec(package.spec)
186
old_path = buildinfo['buildpath']
187
if old_path == new_path:
188
return True # No need to relocate
0 commit comments