Don't error out if metafiles are linked
Closes Homebrew/homebrew#16008.
This commit is contained in:
parent
6b6e22ffae
commit
0172672756
@ -383,6 +383,9 @@ class Pathname
|
||||
next unless FORMULA_META_FILES.should_copy? p
|
||||
# Some software symlinks these files (see help2man.rb)
|
||||
filename = p.resolved_path
|
||||
# Some software links metafiles together, so by the time we iterate to one of them
|
||||
# we may have already moved it. libxml2's COPYING and Copyright are affected by this.
|
||||
next unless filename.exist?
|
||||
filename.chmod 0644
|
||||
self.install filename
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user