aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMax Howell2012-09-28 09:12:15 -0400
committerMax Howell2012-09-28 09:37:38 -0400
commit7a7591534538bca80fef0a2b4cbcf16c4d0052de (patch)
treefdd8619c818f3689b2d0a4304b66a7669834eeac /Library/Homebrew/cmd
parentcc932ca6681df313149985066f15a7bed516bc21 (diff)
downloadbrew-7a7591534538bca80fef0a2b4cbcf16c4d0052de.tar.bz2
Only handle build-errors when it's a build-error
Refs Homebrew/homebrew#15164.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/--config.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb
index 281b310cd..f72cbedff 100644
--- a/Library/Homebrew/cmd/--config.rb
+++ b/Library/Homebrew/cmd/--config.rb
@@ -112,6 +112,13 @@ module Homebrew extend self
puts "X11: #{describe_x11}"
end
+ def write_build_config f
+ $f = f
+ def Homebrew.puts(*foo); $f.puts(*foo); end
+ Homebrew.dump_build_config
+ class << Homebrew; undef :puts; end
+ end
+
def dump_verbose_config
puts "HOMEBREW_VERSION: #{HOMEBREW_VERSION}"
puts "HEAD: #{head}"