Skip to content

Commit

Permalink
try fixing os.makedirs(..., exist_ok=True) failing with FileExists ex…
Browse files Browse the repository at this point in the history
…ception...
  • Loading branch information
martinfouilleul committed Oct 31, 2024
1 parent d575ed9 commit 4d887a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@ def build_harfbuzz():
with open("deps/harfbuzz-commit.txt", "r") as f:
HARFBUZZ_COMMIT = f.read().strip()

os.makedirs("build/bin", exist_ok=True)

# check harfbuzz repo
with pushd("build"):
if not os.path.exists("harfbuzz"):
Expand Down

0 comments on commit 4d887a7

Please sign in to comment.