diff options
| author | Adam Vandenberg | 2012-11-12 20:56:05 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-11-12 20:56:05 -0800 |
| commit | 0172672756c7b512812ba06395146612999df0b0 (patch) | |
| tree | b19ee886703f642bff7fe5cd4170578bb64d6485 | |
| parent | 6b6e22ffaee6bdb39bfac02ced995f88bc393ce7 (diff) | |
| download | brew-0172672756c7b512812ba06395146612999df0b0.tar.bz2 | |
Don't error out if metafiles are linked
Closes Homebrew/homebrew#16008.
| -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 |
