Skip to content

Commit 392fc6c

Browse files
committed
Fix for issue #12779
1 parent 692c1fc commit 392fc6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/idf_py_actions/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def ensure_build_directory(args: 'PropertyDict', prog_name: str, always_run_cmak
626626

627627
try:
628628
python = cache['PYTHON']
629-
if python != sys.executable:
629+
if os.path.normcase(python) != os.path.normcase(sys.executable):
630630
raise FatalError(
631631
"'{}' is currently active in the environment while the project was configured with '{}'. "
632632
"Run '{} fullclean' to start again.".format(sys.executable, python, prog_name))

0 commit comments

Comments
 (0)