diff options
| author | Jack Nagel | 2014-06-07 23:40:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-07 23:40:28 -0500 |
| commit | 6d0f0cb195a0e3db68c33a65f09ad482af6ecb95 (patch) | |
| tree | 71219de786a66a12c4c9e015656e89e341a568d3 /Library/Homebrew/extend | |
| parent | 07257f2f4861449f3446a06d5eed2b36f4deda65 (diff) | |
| download | brew-6d0f0cb195a0e3db68c33a65f09ad482af6ecb95.tar.bz2 | |
metafiles: simplify #copy? further
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index f04c6a810..2a2790c12 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -378,7 +378,7 @@ class Pathname def install_metafiles from=Pathname.pwd Pathname(from).children.each do |p| next if p.directory? - next unless Metafiles.copy?(p) + next unless Metafiles.copy?(p.basename.to_s) # 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 |
