From 987631b9a0db8eedfb7d2c9de8006e7c32e0c394 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 30 Mar 2017 10:58:58 +1100 Subject: [PATCH] windows: Don't expand PATH when generating setup Ref #467 https://github.com/espressif/esp-idf/issues/467 --- docs/windows-setup.rst | 2 +- tools/windows/windows_install_prerequisites.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/windows-setup.rst b/docs/windows-setup.rst index 16b46732a7..9c90d9183b 100644 --- a/docs/windows-setup.rst +++ b/docs/windows-setup.rst @@ -8,7 +8,7 @@ Windows doesn't have a built-in "make" environment, so as well as installing the The quick setup is to download the Windows all-in-one toolchain & MSYS zip file from dl.espressif.com: -https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20170321.zip +https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20170330.zip Unzip the zip file to ``C:\`` (or some other location, but this guide assumes ``C:\``) and it will create an "msys32" directory with a pre-prepared environment. diff --git a/tools/windows/windows_install_prerequisites.sh b/tools/windows/windows_install_prerequisites.sh index 1b3f39059c..b4d6337682 100644 --- a/tools/windows/windows_install_prerequisites.sh +++ b/tools/windows/windows_install_prerequisites.sh @@ -51,7 +51,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="$PATH:/opt/xtensa-esp32-elf/bin" +export PATH="\$PATH:/opt/xtensa-esp32-elf/bin" EOF # clean up pacman packages to save some disk space