From 04173d55c20421df10e813114bfa9d806922c610 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 31 Aug 2012 08:09:35 -0400 Subject: [PATCH] Hide --disable-debug from non verbose output also --- Library/Homebrew/formula.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 78209feb75..c4f8f5f7b9 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -464,7 +464,10 @@ protected # remove "boring" arguments so that the important ones are more likely to # be shown considering that we trim long ohai lines to the terminal width pretty_args = args.dup - pretty_args.delete "--disable-dependency-tracking" if cmd == "./configure" and not ARGV.verbose? + if cmd == "./configure" and not ARGV.verbose? + pretty_args.delete "--disable-dependency-tracking" + pretty_args.delete "--disable-debug" + end ohai "#{cmd} #{pretty_args*' '}".strip removed_ENV_variables = case if args.empty? then cmd.split(' ').first else cmd end