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 | 99848607b2cb2bdf28f9df3edc6f50b3c2933f11 (patch) | |
| tree | 0b3e79b9a25fd7d45f1f89208153b796bea7bd87 | |
| parent | 75535395acb996b41e407a370709af6cef3123f1 (diff) | |
| download | brew-99848607b2cb2bdf28f9df3edc6f50b3c2933f11.tar.bz2 | |
Formula#system: hide python setup.py shim in ohai
| -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 |
