aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorMax Howell2012-09-11 20:59:59 -0400
committerMax Howell2012-09-25 11:31:56 -0400
commita217b03952fca6df22ecc62523d9c85883aef856 (patch)
tree82d30ca49fa0224ac6339a5c4399b3de6ba4c49f /Library/ENV
parent1100818100ae07fa49419b4ab69ebbeb59a7615d (diff)
downloadbrew-a217b03952fca6df22ecc62523d9c85883aef856.tar.bz2
Clean up and improve build-error output and logs
All logs are now stored from each command executed in Formula.install. Error output is truncated to five lines in an attempt to not overwhelm the user and to encourage users to read the error output and report the bug properly. Maybe we can get that figure up from 70% to 90%.
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 37ebc0400..b027c789a 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -168,9 +168,10 @@ class Cmd
dels = @args - args
adds = args - @args
dups = dels & args
- puts "brew: Superenv removed: #{dels*' '}" unless dels.empty?
- puts "brew: Superenv deduped: #{dels}" unless dups.empty?
- puts "brew: Superenv added: #{adds*' '}" unless adds.empty?
+
+ STDERR.puts "brew: superenv removed: #{dels*' '}" unless dels.empty?
+ STDERR.puts "brew: superenv deduped: #{dels}" unless dups.empty?
+ STDERR.puts "brew: superenv added: #{adds*' '}" unless adds.empty?
end
end