aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorMax Howell2012-08-31 08:09:35 -0400
committerMax Howell2012-08-31 10:22:09 -0400
commit5800e5439b4c0bb95d1d2d4b842813c53bc3f424 (patch)
tree23343c51487f6be274b00428fabf57f006a71036 /Library/Homebrew/formula.rb
parent8430326224a94ea9463bcfa7cb5c80d2e7316c86 (diff)
downloadhomebrew-5800e5439b4c0bb95d1d2d4b842813c53bc3f424.tar.bz2
Hide --disable-debug from non verbose output also
Diffstat (limited to 'Library/Homebrew/formula.rb')
-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