forked from espressif/esp-idf
Merge branch 'contrib/github_pr_12780' into 'master'
Fixed Python path case sensitive error on Windows (GitHub PR) Closes IDFGH-11667 and IDFGH-11666 See merge request espressif/esp-idf!27896
This commit is contained in:
@@ -626,7 +626,7 @@ def ensure_build_directory(args: 'PropertyDict', prog_name: str, always_run_cmak
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
python = cache['PYTHON']
|
python = cache['PYTHON']
|
||||||
if python != sys.executable:
|
if os.path.normcase(python) != os.path.normcase(sys.executable):
|
||||||
raise FatalError(
|
raise FatalError(
|
||||||
"'{}' is currently active in the environment while the project was configured with '{}'. "
|
"'{}' is currently active in the environment while the project was configured with '{}'. "
|
||||||
"Run '{} fullclean' to start again.".format(sys.executable, python, prog_name))
|
"Run '{} fullclean' to start again.".format(sys.executable, python, prog_name))
|
||||||
|
Reference in New Issue
Block a user