mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
tools: install.fish: Modify method to get base directory.
Current method assumes that you are in the esp-idf directory when executing install. This method will get the correct path regardless of where you execute from. Merges https://github.com/espressif/esp-idf/pull/6718
This commit is contained in:
parent
cb179fe105
commit
f5f0648608
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
set basedir $PWD
|
set basedir (realpath (dirname (status -f)))
|
||||||
|
|
||||||
set -x IDF_PATH $basedir
|
set -x IDF_PATH $basedir
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user