keg: the argument to find_dylib is already a Pathname

This commit is contained in:
Jack Nagel 2013-12-14 09:35:58 -06:00
parent 3662a2765d
commit c31512fe33

View File

@ -137,7 +137,7 @@ class Keg
end end
def find_dylib name def find_dylib name
lib.find { |pn| break pn if pn.basename == Pathname.new(name) } lib.find { |pn| break pn if pn.basename == name }
end end
def mach_o_files def mach_o_files