aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-08-31 08:09:35 -0400
committerMax Howell2012-08-31 10:22:09 -0400
commit04173d55c20421df10e813114bfa9d806922c610 (patch)
tree05e76ea86173ac1e0c320e35a37e7380e99e9c9a /Library
parente7c05f558ba2fc8c77740b09fb3ba305a87477e6 (diff)
downloadbrew-04173d55c20421df10e813114bfa9d806922c610.tar.bz2
Hide --disable-debug from non verbose output also
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 78209feb7..c4f8f5f7b 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