Add quotes to PATH declarations
This is necessary in case someone has a space in their PATH variable (which is within the realm of possibility) Merges https://github.com/espressif/esp-idf/pull/800
This commit is contained in:
parent
eb8bd937c6
commit
f77020ee5f
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ ESP32 toolchain for Linux is available for download from Espressif website:
|
|||
|
||||
To use it, you will need to update your ``PATH`` environment variable in ``~/.profile`` file. To make ``xtensa-esp32-elf`` available for all terminal sessions, add the following line to your ``~/.profile`` file::
|
||||
|
||||
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
|
||||
export PATH="$PATH:$HOME/esp/xtensa-esp32-elf/bin"
|
||||
|
||||
Alternatively, you may create an alias for the above command. This way you can get the toolchain only when you need it. To do this, add different line to your ``~/.profile`` file::
|
||||
|
||||
alias get_esp32="export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin"
|
||||
alias get_esp32='export PATH="$PATH:$HOME/esp/xtensa-esp32-elf/bin"'
|
||||
|
||||
Then when you need the toolchain you can type ``get_esp32`` on the command line and the toolchain will be added to your ``PATH``.
|
||||
|
||||
|
|
Loading…
Reference in a new issue