Add default IDF_PATH detection to export.fish

Closes https://github.com/espressif/esp-idf/pull/6814
pull/9328/head
Alexander Grin 2021-04-01 20:03:16 +03:00 zatwierdzone przez Marek Fiala
rodzic 203c3e6e1c
commit 5a646b8067
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -7,8 +7,8 @@ end
function __main
if not set -q IDF_PATH
echo "IDF_PATH must be set before sourcing this script"
return 1
set -x IDF_PATH (cd (dirname (status -f)); and pwd)
echo "Chosen IDF_PATH: $IDF_PATH"
end
set script_dir (cd (dirname (status -f)); and pwd)