]> granicus.if.org Git - esp-idf/commit
tools: export.sh: fix ESP-IDF path detection on macos
authorIvan Grokhotkov <ivan@espressif.com>
Sun, 28 Jul 2019 08:04:36 +0000 (10:04 +0200)
committerIvan Grokhotkov <ivan@espressif.com>
Sun, 28 Jul 2019 08:04:36 +0000 (10:04 +0200)
commit3f9fc97de71d4666c488b08c04cda6681de289d8
tree25559141a0191a98cf4c2c2a3076f2683d632ae2
parent1b6010bedf1213c4b27a6e069c96df38bc9b86a2
tools: export.sh: fix ESP-IDF path detection on macos

The argument passed to the function is in $1; $0 contains `-bash`.
Before this fix, IDF_PATH would be set to $PWD instead of the correct
path.
export.sh