From 73d0ee43586018ac9ddab884e3e7faffbf6e7fa1 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 15 Oct 2009 09:08:26 +0100 Subject: 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. --- Library/Homebrew/install.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 9509a56b8..d9b66d5ac 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 -- cgit v1.2.3