diff options
| author | Adam Vandenberg | 2012-11-12 20:56:05 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-11-12 20:56:05 -0800 |
| commit | 3cfe157b0672328d93fe2ad938085e66a22f6958 (patch) | |
| tree | 27ebbc27f0554a72e1f99064aaf86e9b0e832379 /Library | |
| parent | a7fd611e38e2291931a01a7caf7eb2ce5ba6e873 (diff) | |
| download | homebrew-3cfe157b0672328d93fe2ad938085e66a22f6958.tar.bz2 | |
Don't error out if metafiles are linked
Closes #16008.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 1cbafaef8..0c55e6a6f 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -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 |
