diff options
| author | Adam Vandenberg | 2012-11-11 10:45:58 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-11-11 10:45:58 -0800 |
| commit | e7f2e449e77bfe0cc9727ed2370c86e10f21b2f4 (patch) | |
| tree | cb71b2cc705f5e47cb0ba7075bb9d4e73bfe5566 /Library/Homebrew/build.rb | |
| parent | eb25ba84525ca45cbe46932f283f1212891f3a73 (diff) | |
| download | homebrew-e7f2e449e77bfe0cc9727ed2370c86e10f21b2f4.tar.bz2 | |
Teach Pathname how to scan for metafiles
Diffstat (limited to 'Library/Homebrew/build.rb')
| -rwxr-xr-x | Library/Homebrew/build.rb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 656b5e8c0..aa5be6540 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -144,22 +144,11 @@ def install f end # Find and link metafiles - install_meta_files Pathname.pwd, f.prefix + f.prefix.install_metafiles Pathname.pwd end end end -def install_meta_files src_path, dst_path - src_path.children.each do |p| - next if p.directory? - next unless FORMULA_META_FILES.should_copy? p - # Some software symlinks these files (see help2man.rb) - filename = p.resolved_path - filename.chmod 0644 - dst_path.install filename - end -end - def fixopt f path = if f.linked_keg.directory? and f.linked_keg.symlink? f.linked_keg.realpath |
