Move verbose ARGV display to install.rb
This works better as it comes after any keg-only deps change ENV, but also it needs to happen after brewkit is required and that only happens in install now.
This commit is contained in:
parent
ca1a6492bc
commit
73d0ee4358
@ -51,6 +51,13 @@ def install f
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if ARGV.verbose?
|
||||||
|
ohai "Build Environment"
|
||||||
|
%w[PATH CFLAGS LDFLAGS CPPFLAGS MAKEFLAGS CC CXX MACOSX_DEPLOYMENT_TARGET].each do |f|
|
||||||
|
puts "#{f}: #{ENV[f]}" unless ENV[f].to_s.empty?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
build_time = nil
|
build_time = nil
|
||||||
begin
|
begin
|
||||||
f.brew do
|
f.brew do
|
||||||
|
7
bin/brew
7
bin/brew
@ -101,13 +101,6 @@ begin
|
|||||||
raise "Interactive mode can only be used with one formula argument"
|
raise "Interactive mode can only be used with one formula argument"
|
||||||
end
|
end
|
||||||
|
|
||||||
if ARGV.verbose?
|
|
||||||
ohai "Build Environment"
|
|
||||||
%w[PATH CFLAGS LDFLAGS CPPFLAGS MAKEFLAGS CC CXX MACOSX_DEPLOYMENT_TARGET].each do |f|
|
|
||||||
puts "#{f}: #{ENV[f]}" unless ENV[f].to_s.empty?
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
warn_about_macports_or_fink # keep warning before dependency resolution
|
warn_about_macports_or_fink # keep warning before dependency resolution
|
||||||
|
|
||||||
unless ARGV.force?
|
unless ARGV.force?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user