Remove "boring" args from the pretty_args only
Dumb mistake. Sorry. Closes Homebrew/homebrew#6722
This commit is contained in:
parent
71cc478a86
commit
7e2411eb4d
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user