From eaf19c27c07a6770debd4abd8344a5d50c869be8 Mon Sep 17 00:00:00 2001 From: Tim D. Smith Date: Mon, 8 Dec 2014 12:57:40 -0500 Subject: Formula#system: hide python setup.py shim in ohai --- Library/Homebrew/formula.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3