diff options
| author | Adam Vandenberg | 2010-08-15 17:17:59 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-15 17:17:59 -0700 |
| commit | e187841ec809bbcf49c9453d1ef2221b432d3408 (patch) | |
| tree | 79dcefe4f1f38ae02cfb02dbbbf6a2aaaca58296 /Library | |
| parent | 760c1182c9499c19af6cef1f583547f7fde2a2eb (diff) | |
| download | homebrew-e187841ec809bbcf49c9453d1ef2221b432d3408.tar.bz2 | |
Make errors during link step more visible.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/install.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 8db43282d..b4ead5a27 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -162,7 +162,11 @@ def install f onoe "The linking step did not complete successfully" puts "The package built, but is not symlinked into #{HOMEBREW_PREFIX}" puts "You can try again using `brew link #{f.name}'" - ohai e, e.backtrace if ARGV.debug? + if ARGV.debug? + ohai e, e.backtrace + else + onoe e + end show_summary_heading = true end end |
