From af3dec8361d4850a08e2b7a94c7a82edf48482fc Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 4 Jul 2011 09:31:29 +0100 Subject: Fix install names for keg-only brews too Fixes #6065. Fixes #6218. --- Library/Homebrew/install.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 62194e976..e92e80e08 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 -- cgit v1.2.3