Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tools: resolve symlinks in IDF_PATH when installing
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.
- Loading branch information