From b7f56e86ba706ad1ec437b169c0dca8f538a555e Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 27 Nov 2018 09:36:43 +1100 Subject: [PATCH 1/2] windows_install_prerequisites: Fix generation of PATH command Accidental regression in 7c8d5d2782b2966ef93b5d0078a5006c4a46cecd - escape character didn't move with PATH. Reported on forum https://esp32.com/viewtopic.php?f=13&t=8201 --- tools/windows/windows_install_prerequisites.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/windows/windows_install_prerequisites.sh b/tools/windows/windows_install_prerequisites.sh index 5d00b2d909..6a23663169 100644 --- a/tools/windows/windows_install_prerequisites.sh +++ b/tools/windows/windows_install_prerequisites.sh @@ -54,7 +54,7 @@ rm ~/${TOOLCHAIN_ZIP} cat > /etc/profile.d/esp32_toolchain.sh << EOF # This file was created by ESP-IDF windows_install_prerequisites.sh # and will be overwritten if that script is run again. -export PATH="\/opt/xtensa-esp32-elf/bin:$PATH" +export PATH="/opt/xtensa-esp32-elf/bin:\$PATH" EOF # clean up pacman package cache to save some disk space From 983cdcb7f46aca11e47af943885f600b0a606cdf Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Tue, 27 Nov 2018 13:23:40 +0800 Subject: [PATCH 2/2] add_path.sh: Fix reuse the script --- add_path.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/add_path.sh b/add_path.sh index 71257aa77a..bfc27bb49f 100644 --- a/add_path.sh +++ b/add_path.sh @@ -9,6 +9,7 @@ if [ -z ${IDF_PATH} ]; then echo "IDF_PATH must be set before including this script." else + IDF_ADD_PATHS_EXTRAS= IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/esptool_py/esptool" IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/espcoredump" IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/partition_table/"