Skip to content

Commit 4ec73d8

Browse files
Allow libdir to already exist when downloading multiple dependency libraries.
1 parent 37bf691 commit 4ec73d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robotpy_build/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def _clean_and_download(
419419
if dl.libs or dl.dlopenlibs:
420420
add_libdir = True
421421
extract_names = []
422-
os.makedirs(libdir)
422+
os.makedirs(libdir, exist_ok=True)
423423

424424
libext = dl.libexts.get(self.platform.libext, self.platform.libext)
425425
linkext = dl.linkexts.get(self.platform.linkext, self.platform.linkext)

0 commit comments

Comments
 (0)