mercurial: make --with-custom-python a no-op (#6764)

This commit is contained in:
Tim D. Smith 2017-03-07 06:27:59 -08:00 committed by FX Coudert
parent c4b0c868e8
commit e97716978d

View file

@ -14,11 +14,7 @@ class Mercurial < Formula
end end
option "with-custom-python", "Install against the python in PATH instead of Homebrew's python" option "with-custom-python", "Install against the python in PATH instead of Homebrew's python"
if build.with? "custom-python" depends_on :python
depends_on :python
else
depends_on "python"
end
def install def install
system "make", "PREFIX=#{prefix}", "install-bin" system "make", "PREFIX=#{prefix}", "install-bin"