Skip to content

Commit 8576e76

Browse files
committed
missed
1 parent bf7f1e0 commit 8576e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spack/spack/binary_distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def relocate_package(package):
182182
Relocate the given package
183183
"""
184184
buildinfo = read_buildinfo_file(package)
185-
new_path = spack.store.layout.install_path
185+
new_path = spack.store.layout.path_for_spec(package.spec)
186186
old_path = buildinfo['buildpath']
187187
if old_path == new_path:
188188
return True # No need to relocate

0 commit comments

Comments
 (0)