Tools: Fix silent failure about the incompatible Python

This commit is contained in:
Roland Dobai
2022-02-15 18:36:46 +01:00
parent 0d03c17ab2
commit a93e372364
9 changed files with 25 additions and 9 deletions

View File

@@ -10,6 +10,9 @@ export IDF_PATH
echo "Detecting the Python interpreter"
. "${IDF_PATH}/tools/detect_python.sh"
echo "Checking Python compatibility"
"${ESP_PYTHON}" "${IDF_PATH}/tools/python_version_checker.py"
TARGETS=`"${ESP_PYTHON}" "${IDF_PATH}/tools/install_util.py" extract targets "$@"`
echo "Installing ESP-IDF tools"