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
commit29ea04e12b9db99f2b0dd114d8a63a6f87179d28 (patch)
treeeb5cc13f5d63429750034e679c39cd2b69a5e3e4 /Library/Homebrew/cmd
parent19fde81dbecdb5ad31c8535f0c84a87991b07e37 (diff)
downloadhomebrew-29ea04e12b9db99f2b0dd114d8a63a6f87179d28.tar.bz2
Only handle build-errors when it's a build-error
Refs #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}"