diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 9509a56b8e..d9b66d5acd 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -51,6 +51,13 @@ def install f 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 begin f.brew do diff --git a/bin/brew b/bin/brew index f2a3d5ff09..d263fd6cad 100755 --- a/bin/brew +++ b/bin/brew @@ -101,13 +101,6 @@ begin raise "Interactive mode can only be used with one formula argument" 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 unless ARGV.force?