aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-19 22:55:49 -0500
committerJack Nagel2014-07-19 22:55:49 -0500
commit74ad97ce7f3325fc0a16c5ec3262e191a92667cd (patch)
tree44aacf7414ff46b17faf2a6f138cec0d4dde6597 /Library
parenta150403eb9878045696e5860a1a7488838a7a0d2 (diff)
downloadbrew-74ad97ce7f3325fc0a16c5ec3262e191a92667cd.tar.bz2
Remove intermediate method
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/config.rb4
-rw-r--r--Library/Homebrew/formula.rb2
2 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/config.rb b/Library/Homebrew/cmd/config.rb
index 0613f6fec..0e91845c6 100644
--- a/Library/Homebrew/cmd/config.rb
+++ b/Library/Homebrew/cmd/config.rb
@@ -117,10 +117,6 @@ module Homebrew
f.puts "X11: #{describe_x11}"
end
- def write_build_config(f)
- Homebrew.dump_build_config(f)
- end
-
def dump_verbose_config(f)
f.puts "HOMEBREW_VERSION: #{HOMEBREW_VERSION}"
f.puts "ORIGIN: #{origin}"
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 3b126a3b8..7becacc7b 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -556,7 +556,7 @@ class Formula
Kernel.system "/usr/bin/tail", "-n", "5", logfn unless ARGV.verbose?
f.puts
require 'cmd/config'
- Homebrew.write_build_config(f)
+ Homebrew.dump_build_config(f)
raise BuildError.new(self, cmd, args)
end
end