Skip to content

Commit

Permalink
PYTHON not set correctly (#2759)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mikee47 authored Apr 10, 2024
1 parent 1bcb31d commit 39f0cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 39f0cf6

Please sign in to comment.