From 39f0cf69d4d62d12010813fadbad34e8f2fb03fc Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 10 Apr 2024 12:25:08 +0100 Subject: [PATCH] PYTHON not set correctly (#2759) The `PYTHON` environment variable isn't set correctly for CI builds, or for other installations where non-standard locations may be used. This can result in unexpected behaviour where multiple python3 versions are installed. Update to #2735. --- Tools/export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/export.sh b/Tools/export.sh index 473c449568..763f395023 100755 --- a/Tools/export.sh +++ b/Tools/export.sh @@ -28,7 +28,7 @@ if [ -z "$SMING_HOME" ]; then fi # Common -export PYTHON=${PYTHON:=/usr/bin/python3} +export PYTHON=${PYTHON:=$(which python3)} # Esp8266 export ESP_HOME=${ESP_HOME:=/opt/esp-quick-toolchain}