Formula#system: hide python setup.py shim in ohai

This commit is contained in:
Tim D. Smith 2014-12-08 12:57:40 -05:00
parent 75535395ac
commit 99848607b2

View File

@ -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