Skip to content
Snippets Groups Projects
Commit 51f935c4 authored by Max Howell's avatar Max Howell
Browse files

Show information messages after basic error checking.

parent 1004df18
No related branches found
No related tags found
No related merge requests found
...@@ -74,13 +74,6 @@ begin ...@@ -74,13 +74,6 @@ begin
require 'brewkit' 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 if ARGV.interactive? and ARGV.formulae.length > 1
# the reason for this is interactive mode is a little tricky to do # 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 # with more than one formula, AND I can't think of a time where you'd
...@@ -90,6 +83,13 @@ begin ...@@ -90,6 +83,13 @@ 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[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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment