From 304e26900105199aad97df1a0ad8c9333e5a180b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 5 Nov 2020 21:57:50 +0100 Subject: [PATCH] =?UTF-8?q?build:=20try=20=E2=80=9Cpython3=E2=80=9D=20as?= =?UTF-8?q?=20a=20last=20resort=20for=203.x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So that Xcode's Python 3 gets picked up. PR-URL: https://github.com/nodejs/node/pull/35983 Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Jiawen Geng Reviewed-By: Christian Clauss Reviewed-By: Rich Trott --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 07581d9c5a4ff1..ca2cd8aa9e6358 100755 --- a/configure +++ b/configure @@ -10,6 +10,7 @@ command -v python3.8 >/dev/null && exec python3.8 "$0" "$@" command -v python3.7 >/dev/null && exec python3.7 "$0" "$@" command -v python3.6 >/dev/null && exec python3.6 "$0" "$@" command -v python3.5 >/dev/null && exec python3.5 "$0" "$@" +command -v python3 >/dev/null && exec python3 "$0" "$@" command -v python2.7 >/dev/null && exec python2.7 "$0" "$@" exec python "$0" "$@" ''' "$0" "$@"