windows_install_prerequisites: Fix generation of PATH command

Accidental regression in 7c8d5d2782 - escape
character didn't move with PATH.

Reported on forum https://esp32.com/viewtopic.php?f=13&t=8201
This commit is contained in:
Angus Gratton 2018-11-27 09:36:43 +11:00 committed by Angus Gratton
parent 90a6c9aada
commit b7f56e86ba

View file

@ -54,7 +54,7 @@ rm ~/${TOOLCHAIN_ZIP}
cat > /etc/profile.d/esp32_toolchain.sh << EOF cat > /etc/profile.d/esp32_toolchain.sh << EOF
# This file was created by ESP-IDF windows_install_prerequisites.sh # This file was created by ESP-IDF windows_install_prerequisites.sh
# and will be overwritten if that script is run again. # 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 EOF
# clean up pacman package cache to save some disk space # clean up pacman package cache to save some disk space