From 7e1e8efdf4eb31a53f8c4235095c85311a872821 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 4 Jul 2011 09:31:29 +0100 Subject: [PATCH] Fix install names for keg-only brews too Fixes Homebrew/homebrew#6065. Fixes Homebrew/homebrew#6218. --- Library/Homebrew/install.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 62194e976a..e92e80e084 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -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