diff options
| author | Jack Nagel | 2014-06-07 17:49:07 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-07 21:15:56 -0500 |
| commit | 376b0556da574ffc3fb3ad00aa1d892801ed5ad0 (patch) | |
| tree | 9ee0f7b0b2866f00ce12be75434af6e84259b3e7 /Library/Homebrew/extend | |
| parent | 8718b62113b30b34a6a2acfc28277477fae237e3 (diff) | |
| download | homebrew-376b0556da574ffc3fb3ad00aa1d892801ed5ad0.tar.bz2 | |
Eliminate FORMULA_META_FILES constant
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index b9730a89f..91dd6d5a1 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -1,6 +1,7 @@ require 'pathname' require 'mach' require 'resource' +require 'metafiles' # we enhance pathname to make our code more readable class Pathname @@ -381,7 +382,7 @@ class Pathname from.children.each do |p| next if p.directory? - next unless FORMULA_META_FILES.should_copy? p + next unless Metafiles.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 |
