Fix install names for keg-only brews too

Fixes Homebrew/homebrew#6065. Fixes Homebrew/homebrew#6218.
This commit is contained in:
Max Howell 2011-07-04 09:31:29 +01:00
parent 870f36769e
commit 7e1e8efdf4

View File

@ -194,16 +194,16 @@ def install f
ohai e, e.backtrace if ARGV.debug?
show_summary_heading = true
end
end
begin
keg.fix_install_names
rescue Exception => e
onoe "Failed to fix install names"
puts "The formula built, but you may encounter issues using it or linking other"
puts "formula against it."
ohai e, e.backtrace if ARGV.debug?
show_summary_heading = true
end
begin
keg.fix_install_names
rescue Exception => e
onoe "Failed to fix install names"
puts "The formula built, but you may encounter issues using it or linking other"
puts "formula against it."
ohai e, e.backtrace if ARGV.debug?
show_summary_heading = true
end
ohai "Summary" if ARGV.verbose? or show_summary_heading