diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 26b25cbf7a..d2d8995d26 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -191,10 +191,11 @@ class Formula # so load any deps before this point! And exit asap afterwards yield self rescue Interrupt, RuntimeError, SystemCallError => e + puts if Interrupt === e # don't print next to the ^C unless ARGV.debug? %w(config.log CMakeCache.txt).select{|f| File.exist? f}.each do |f| HOMEBREW_LOGS.install f - ohai "#{f} was copied to #{HOMEBREW_LOGS}" + puts "#{f} was copied to #{HOMEBREW_LOGS}" end raise end