diff options
| author | Max Howell | 2009-09-27 23:56:03 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-28 00:20:51 +0100 |
| commit | 25d0db2cd0d1f70688a03aa41a26d8ba99d1db99 (patch) | |
| tree | 156ddc91c90a9b8694e111abd682794e9a9ecbab | |
| parent | 55521bbd6fe61411f06bf50d1c1fede745417552 (diff) | |
| download | homebrew-25d0db2cd0d1f70688a03aa41a26d8ba99d1db99.tar.bz2 | |
Show information messages after basic error checking.
| -rwxr-xr-x | bin/brew | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -74,13 +74,6 @@ begin require 'brewkit' - if ARGV.verbose? - ohai "Build Environment" - %w[CFLAGS LDFLAGS CPPFLAGS MAKEFLAGS CC CXX MACOSX_DEPLOYMENT_TARGET].each do |f| - puts "#{f}: #{ENV[f]}" unless ENV[f].to_s.empty? - end - end - if ARGV.interactive? and ARGV.formulae.length > 1 # the reason for this is interactive mode is a little tricky to do # with more than one formula, AND I can't think of a time where you'd @@ -90,6 +83,13 @@ begin raise "Interactive mode can only be used with one formula argument" end + if ARGV.verbose? + ohai "Build Environment" + %w[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? |
