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
commitc59dea49a5f50f3bce308f54e73c723e1fccae7b (patch)
tree94f2219efee72d7e9edbe16777503507d45b998b /Library
parent3371fe47911a9530b252f7457332c584c5f1d086 (diff)
downloadhomebrew-c59dea49a5f50f3bce308f54e73c723e1fccae7b.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