mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-23 02:39:28 +01:00
Use `pwd -P` to resolve any symlinks in the current directory path. This makes the behavior in the shell script similar to the idf_tools.py code, which calls `os.path.realpath()`. Without this, multiple entries can get created in the `idfInstalled` dictionary in idf-env.json, and the installed targets and features are not fully present in all entries. This results in a broken installation, where `export.sh` cannot set up the environment correctly afterwards.
798 B
Executable File
798 B
Executable File