aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 0d1380d79..5c330ee4f 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -465,8 +465,10 @@ protected
# Pretty titles the command and buffers stdout/stderr
# Throws if there's an error
def system cmd, *args
- pretty_args = args
- args.delete "--disable-dependency-tracking" if cmd == "./configure"
+ # 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?
ohai "#{cmd} #{pretty_args*' '}".strip
if ARGV.verbose?