diff options
| author | Tim D. Smith | 2014-12-08 12:57:40 -0500 |
|---|---|---|
| committer | Tim D. Smith | 2014-12-10 14:18:23 -0800 |
| commit | eaf19c27c07a6770debd4abd8344a5d50c869be8 (patch) | |
| tree | e0283f97d6c7aa56b3bccd975ca1ea482aecf26c /Library/Homebrew | |
| parent | a66d29558f457dc3b976d7b4a6b92d3ac410a984 (diff) | |
| download | homebrew-eaf19c27c07a6770debd4abd8344a5d50c869be8.tar.bz2 | |
Formula#system: hide python setup.py shim in ohai
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 78e2dcf93..4dad76fdc 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -592,6 +592,11 @@ class Formula pretty_args.delete "--disable-dependency-tracking" pretty_args.delete "--disable-debug" end + pretty_args.each_index do |i| + if pretty_args[i].to_s.start_with? "import setuptools" + pretty_args[i] = "import setuptools..." + end + end ohai "#{cmd} #{pretty_args*' '}".strip @exec_count ||= 0 |
