Default to stdout since other code calls this method

This commit is contained in:
Jack Nagel 2014-07-19 23:28:56 -05:00
parent 74ad97ce7f
commit c18eea6a17

View File

@ -91,7 +91,7 @@ module Homebrew
end end
# we try to keep output minimal # we try to keep output minimal
def dump_build_config(f) def dump_build_config(f=STDOUT)
f.puts "HOMEBREW_VERSION: #{HOMEBREW_VERSION}" f.puts "HOMEBREW_VERSION: #{HOMEBREW_VERSION}"
f.puts "HEAD: #{head}" f.puts "HEAD: #{head}"
f.puts "HOMEBREW_PREFIX: #{HOMEBREW_PREFIX}" if HOMEBREW_PREFIX.to_s != "/usr/local" f.puts "HOMEBREW_PREFIX: #{HOMEBREW_PREFIX}" if HOMEBREW_PREFIX.to_s != "/usr/local"