aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-09-27 23:56:03 +0100
committerMax Howell2009-09-28 00:20:51 +0100
commit25d0db2cd0d1f70688a03aa41a26d8ba99d1db99 (patch)
tree156ddc91c90a9b8694e111abd682794e9a9ecbab
parent55521bbd6fe61411f06bf50d1c1fede745417552 (diff)
downloadhomebrew-25d0db2cd0d1f70688a03aa41a26d8ba99d1db99.tar.bz2
Show information messages after basic error checking.
-rwxr-xr-xbin/brew14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/brew b/bin/brew
index 85c2e1b33..2b5f35590 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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?