aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim D. Smith2014-12-08 12:57:40 -0500
committerTim D. Smith2014-12-10 14:18:23 -0800
commit99848607b2cb2bdf28f9df3edc6f50b3c2933f11 (patch)
tree0b3e79b9a25fd7d45f1f89208153b796bea7bd87
parent75535395acb996b41e407a370709af6cef3123f1 (diff)
downloadbrew-99848607b2cb2bdf28f9df3edc6f50b3c2933f11.tar.bz2
Formula#system: hide python setup.py shim in ohai
-rw-r--r--Library/Homebrew/formula.rb5
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