Skip to content

Commit 3808ea9

Browse files
authored
Update unix.py
Use os.makedirs instead of os.mkdir so the intermediate directory 'originals' will be created
1 parent 361355e commit 3808ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/unix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def submodules():
211211

212212

213213
if not os.path.exists('micropy_updates/originals/unix'):
214-
os.mkdir('micropy_updates/originals/unix')
214+
os.makedirs('micropy_updates/originals/unix')
215215

216216

217217
UNIX_MPHAL_PATH = 'lib/micropython/ports/unix/unix_mphal.c'

0 commit comments

Comments
 (0)