Edited Rob Walker's commit to keep ESP_IDF consistency

This commit is contained in:
Marek Fiala
2021-10-06 13:48:11 +02:00
committed by bot
parent 25619bef04
commit 8dd6d9fa5f
3 changed files with 16 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
# This script should be sourced, not executed.
function idf_export_main
function __main
if not set -q IDF_PATH
echo "IDF_PATH must be set before sourcing this script"
return 1
@@ -65,7 +65,7 @@ function idf_export_main
echo ""
end
idf_export_main
__main
set click_version (python -c 'import click; print(click.__version__.split(".")[0])')
if test $click_version -lt 8
@@ -75,4 +75,4 @@ else
end
set -e idf_export_main
set -e __main