]> granicus.if.org Git - esp-idf/commitdiff
windows_install_prerequisites: Fix generation of PATH command
authorAngus Gratton <angus@espressif.com>
Mon, 26 Nov 2018 22:36:43 +0000 (09:36 +1100)
committerAngus Gratton <gus@projectgus.com>
Mon, 26 Nov 2018 22:36:43 +0000 (09:36 +1100)
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

index 5d00b2d9094ef8d9cecd4c5cdec75543b52ffe3e..6a236631690ef0bf440bf6816fc334227246dd3b 100644 (file)
@@ -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