Stop rescuing Exception when making opt link

This commit is contained in:
Jack Nagel 2014-07-24 19:39:09 -05:00
parent 07bf57b8ea
commit cd02d3d540

View File

@ -539,9 +539,10 @@ class FormulaInstaller
if f.keg_only?
begin
keg.optlink
rescue Exception
onoe "Failed to create: #{f.opt_prefix}"
rescue Keg::LinkError => e
onoe "Failed to create #{f.opt_prefix}"
puts "Things that depend on #{f} will probably not build."
puts e
end
return
end