compare full old_prefix and new_prefix instead of layout_root (#23506)
This commit is contained in:
parent
ccdda9a74e
commit
4903eabc7a
@ -1178,7 +1178,7 @@ def is_backup_file(file):
|
||||
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')
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user