mirror of
https://github.com/gosticks/brew.git
synced 2026-10-04 14:37:11 +00:00
keg_relocate: don't forget the hard links
This commit is contained in:
@@ -77,7 +77,7 @@ class Keg
|
||||
changed = s.gsub!(regexp, replacements)
|
||||
|
||||
next unless changed
|
||||
changed_files << first.relative_path_from(path)
|
||||
changed_files += [first, *rest].map { |file| file.relative_path_from(path) }
|
||||
|
||||
begin
|
||||
first.atomic_write(s)
|
||||
|
||||
Reference in New Issue
Block a user