From 2c0c5527cd40ff4aa60cf1cc8e3ba28304eedeae Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sun, 17 Nov 2019 15:33:29 +0100 Subject: [PATCH] mercurial: set PYTHON for install-bin target too Closes #46838. Signed-off-by: FX Coudert --- Formula/mercurial.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/mercurial.rb b/Formula/mercurial.rb index 771796af98..7f248e067b 100644 --- a/Formula/mercurial.rb +++ b/Formula/mercurial.rb @@ -5,6 +5,7 @@ class Mercurial < Formula homepage "https://mercurial-scm.org/" url "https://www.mercurial-scm.org/release/mercurial-5.2.tar.gz" sha256 "ff030e923f03ee15c91191996fcb099bfcfa60c7df263be227f67b6a65d36194" + revision 1 bottle do sha256 "d614de3ff6e07cdfd1fffcf5d8e5df6bb408b3643ff0e6d50595a09dede76b57" => :catalina @@ -17,7 +18,7 @@ class Mercurial < Formula def install ENV["HGPYTHON3"] = "1" - system "make", "PREFIX=#{prefix}", "install-bin" + system "make", "PREFIX=#{prefix}", "PYTHON=python3", "install-bin" # Install chg (see https://www.mercurial-scm.org/wiki/CHg) cd "contrib/chg" do