mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(tools): Fixed Python path case sensitive error on Windows
Closes https://github.com/espressif/esp-idf/issues/12779 Closes https://github.com/espressif/esp-idf/pull/12780
This commit is contained in:
parent
936cab8e1c
commit
1cc04d062c
@ -626,7 +626,7 @@ def ensure_build_directory(args: 'PropertyDict', prog_name: str, always_run_cmak
|
||||
|
||||
try:
|
||||
python = cache['PYTHON']
|
||||
if python != sys.executable:
|
||||
if os.path.normcase(python) != os.path.normcase(sys.executable):
|
||||
raise FatalError(
|
||||
"'{}' is currently active in the environment while the project was configured with '{}'. "
|
||||
"Run '{} fullclean' to start again.".format(sys.executable, python, prog_name))
|
||||
|
Loading…
Reference in New Issue
Block a user