diff options
| author | Max Howell | 2011-07-30 11:03:27 +0100 |
|---|---|---|
| committer | Max Howell | 2011-07-30 11:20:23 +0100 |
| commit | c764712f19aef2d4cb65d6cdd2177a059f36f376 (patch) | |
| tree | 6f39afa805ba83bb2131d8f7f4804adb427006ec | |
| parent | 4e5fe0a92f8c2c9c1bbac800c265163b3439447d (diff) | |
| download | homebrew-c764712f19aef2d4cb65d6cdd2177a059f36f376.tar.bz2 | |
Remove "boring" args from the pretty_args only
Dumb mistake. Sorry.
Closes #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? |
