mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
feat(tools): Inform user about IDF_PATH set/change in install/export scripts
This commit is contained in:
@@ -3,6 +3,8 @@ if defined MSYSTEM (
|
||||
echo This .bat file is for Windows CMD.EXE shell only.
|
||||
goto :__end
|
||||
)
|
||||
:: Set local ensures that variables like IDF_PATH are not changed/propagated out of the script
|
||||
setlocal
|
||||
|
||||
set SCRIPT_EXIT_CODE=0
|
||||
|
||||
@@ -30,6 +32,8 @@ if /I "%1" == "/?" goto :__help
|
||||
if /I "%1" == "-h" goto :__help
|
||||
if /I "%1" == "--help" goto :__help
|
||||
|
||||
echo INFO: Using IDF_PATH '%IDF_PATH%' for installation.
|
||||
|
||||
for /f "delims=" %%i in ('python.exe "%IDF_PATH%\tools\install_util.py" extract targets "%*"') do set TARGETS=%%i
|
||||
|
||||
echo Installing ESP-IDF tools
|
||||
|
||||
Reference in New Issue
Block a user