Write debug log in non-verbose mode

This commit is contained in:
Jack Nagel 2013-11-17 19:09:24 -06:00
parent aec457bb7c
commit f465c781d8

View File

@ -263,10 +263,7 @@ class Cmd
LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty? LOGGER.puts "superenv added: #{adds*' '}" unless adds.empty?
end end
def make_fuss? def make_fuss?
verbose? and cccfg? 'O' and not configure? cccfg? 'O' and not configure?
end
def verbose?
!ENV['VERBOSE'].nil? || !ENV['HOMEBREW_VERBOSE'].nil?
end end
def configure? def configure?
# configure scripts generated with autoconf 2.61 or later export as_nl # configure scripts generated with autoconf 2.61 or later export as_nl