Fix Git installation warnings (again).

We have to install them to lib; anywhere else requires root
access, a non-system perl or patching Git.

Tried just moving them in 9597d5 but that breaks git-svn.
This commit is contained in:
Mike McQuaid 2012-04-16 20:23:51 +10:00
parent c703c6f1ee
commit f833041765

View File

@ -328,7 +328,7 @@ class FormulaInstaller
return unless File.exist? f.lib return unless File.exist? f.lib
valid_libraries = %w(.a .dylib .framework .la .o .so) valid_libraries = %w(.a .dylib .framework .la .o .so)
allowed_non_libraries = %w(.jar .prl) allowed_non_libraries = %w(.jar .prl .pm)
non_libraries = f.lib.children.select do |g| non_libraries = f.lib.children.select do |g|
next if g.directory? next if g.directory?
extname = g.extname extname = g.extname