diff options
| author | Max Howell | 2011-07-30 11:03:27 +0100 |
|---|---|---|
| committer | Max Howell | 2011-07-30 11:20:23 +0100 |
| commit | 7e2411eb4d339eec896bfdfed56b0b3cd7ced60e (patch) | |
| tree | 51c26fbc870b81e24e414da0202a90818827f3be | |
| parent | 71cc478a86cf71b8a2440ab0b35f8227e5525d9a (diff) | |
| download | brew-7e2411eb4d339eec896bfdfed56b0b3cd7ced60e.tar.bz2 | |
Remove "boring" args from the pretty_args only
Dumb mistake. Sorry.
Closes Homebrew/homebrew#6722
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 |
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? |
