From 3efea6e06f39c4597c04c326569ffa5cf79f7196 Mon Sep 17 00:00:00 2001 From: Antoine Beauchamp Date: Sun, 4 Aug 2024 12:43:54 -0400 Subject: [PATCH] Fixed typo `ARDUINO_CONFIG_PATH`. --- ci/linux/install_arduino_cores.sh | 14 +++++++------- ci/windows/install_arduino_cores.bat | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ci/linux/install_arduino_cores.sh b/ci/linux/install_arduino_cores.sh index 3d6bcc6..8fe9977 100755 --- a/ci/linux/install_arduino_cores.sh +++ b/ci/linux/install_arduino_cores.sh @@ -12,23 +12,23 @@ which arduino-cli echo # Set arduino-cli config file path -export ARDUINO_CONFIG_PATH="/home/$USER/.arduino15/arduino-cli.yaml" -echo ARDUINO_CONFIG_PATH set to '$ARDUINO_CONFIG_PATH' -cat "$ARDUINO_CONFIG_PATH" +export ARDUINO_CONFIG_FILE_PATH="/home/$USER/.arduino15/arduino-cli.yaml" +echo ARDUINO_CONFIG_FILE_PATH set to '$ARDUINO_CONFIG_FILE_PATH' +cat "$ARDUINO_CONFIG_FILE_PATH" echo echo export YAML_MERGE_FILE="../arduinocli-core-esp8266.yaml" echo Adding $YAML_MERGE_FILE to arduino-cli config... -yaml-merge --nostdin '$YAML_MERGE_FILE' '$ARDUINO_CONFIG_PATH' --overwrite='$ARDUINO_CONFIG_PATH' -cat "$ARDUINO_CONFIG_PATH" +yaml-merge --nostdin '$YAML_MERGE_FILE' '$ARDUINO_CONFIG_FILE_PATH' --overwrite='$ARDUINO_CONFIG_FILE_PATH' +cat "$ARDUINO_CONFIG_FILE_PATH" echo echo set YAML_MERGE_FILE="../arduinocli-core-esp32.yaml" echo Adding $YAML_MERGE_FILE to arduino-cli config... -yaml-merge --nostdin '$YAML_MERGE_FILE' '$ARDUINO_CONFIG_PATH' --overwrite='$ARDUINO_CONFIG_PATH' -cat "$ARDUINO_CONFIG_PATH" +yaml-merge --nostdin '$YAML_MERGE_FILE' '$ARDUINO_CONFIG_FILE_PATH' --overwrite='$ARDUINO_CONFIG_FILE_PATH' +cat "$ARDUINO_CONFIG_FILE_PATH" echo echo diff --git a/ci/windows/install_arduino_cores.bat b/ci/windows/install_arduino_cores.bat index 7de342c..e75e163 100644 --- a/ci/windows/install_arduino_cores.bat +++ b/ci/windows/install_arduino_cores.bat @@ -12,25 +12,25 @@ if %errorlevel% neq 0 exit /b %errorlevel% echo. :: Set arduino-cli config file path -set ARDUINO_CONFIG_PATH=C:\Users\%USERNAME%\AppData\Local\Arduino15\arduino-cli.yaml -echo ARDUINO_CONFIG_PATH set to '%ARDUINO_CONFIG_PATH%' -type "%ARDUINO_CONFIG_PATH%" +set ARDUINO_CONFIG_FILE_PATH=C:\Users\%USERNAME%\AppData\Local\Arduino15\arduino-cli.yaml +echo ARDUINO_CONFIG_FILE_PATH set to '%ARDUINO_CONFIG_FILE_PATH%' +type "%ARDUINO_CONFIG_FILE_PATH%" echo. echo. set YAML_MERGE_FILE=..\arduinocli-core-esp8266.yaml echo Adding %YAML_MERGE_FILE% to arduino-cli config... -yaml-merge --nostdin "%YAML_MERGE_FILE%" "%ARDUINO_CONFIG_PATH%" --overwrite="%ARDUINO_CONFIG_PATH%" +yaml-merge --nostdin "%YAML_MERGE_FILE%" "%ARDUINO_CONFIG_FILE_PATH%" --overwrite="%ARDUINO_CONFIG_FILE_PATH%" if %errorlevel% neq 0 exit /b %errorlevel% -type "%ARDUINO_CONFIG_PATH%" +type "%ARDUINO_CONFIG_FILE_PATH%" echo. echo. set YAML_MERGE_FILE=..\arduinocli-core-esp32.yaml echo Adding %YAML_MERGE_FILE% to arduino-cli config... -yaml-merge --nostdin "%YAML_MERGE_FILE%" "%ARDUINO_CONFIG_PATH%" --overwrite="%ARDUINO_CONFIG_PATH%" +yaml-merge --nostdin "%YAML_MERGE_FILE%" "%ARDUINO_CONFIG_FILE_PATH%" --overwrite="%ARDUINO_CONFIG_FILE_PATH%" if %errorlevel% neq 0 exit /b %errorlevel% -type "%ARDUINO_CONFIG_PATH%" +type "%ARDUINO_CONFIG_FILE_PATH%" echo. echo.