Remove intermediate method
This commit is contained in:
parent
a150403eb9
commit
74ad97ce7f
@ -117,10 +117,6 @@ module Homebrew
|
|||||||
f.puts "X11: #{describe_x11}"
|
f.puts "X11: #{describe_x11}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def write_build_config(f)
|
|
||||||
Homebrew.dump_build_config(f)
|
|
||||||
end
|
|
||||||
|
|
||||||
def dump_verbose_config(f)
|
def dump_verbose_config(f)
|
||||||
f.puts "HOMEBREW_VERSION: #{HOMEBREW_VERSION}"
|
f.puts "HOMEBREW_VERSION: #{HOMEBREW_VERSION}"
|
||||||
f.puts "ORIGIN: #{origin}"
|
f.puts "ORIGIN: #{origin}"
|
||||||
|
|||||||
@ -556,7 +556,7 @@ class Formula
|
|||||||
Kernel.system "/usr/bin/tail", "-n", "5", logfn unless ARGV.verbose?
|
Kernel.system "/usr/bin/tail", "-n", "5", logfn unless ARGV.verbose?
|
||||||
f.puts
|
f.puts
|
||||||
require 'cmd/config'
|
require 'cmd/config'
|
||||||
Homebrew.write_build_config(f)
|
Homebrew.dump_build_config(f)
|
||||||
raise BuildError.new(self, cmd, args)
|
raise BuildError.new(self, cmd, args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user