aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
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}"