Skip to content

Commit ecd20d4

Browse files
committed
adds IDF_PATH to environment before running export script
1 parent fb6955c commit ecd20d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/esp32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def setup_idf_environ():
287287
env = {k: v for k, v in os.environ.items()}
288288
env['IDF_PATH'] = os.path.abspath(idf_path)
289289

290-
result, output = spawn(cmds, out_to_screen=False)
290+
result, output = spawn(cmds, env=env, out_to_screen=False)
291291

292292
if result != 0:
293293
print(output)

0 commit comments

Comments
 (0)