Skip to content

Commit

Permalink
Have mkdir() call in _prepare_zipapp() create parent directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
duckinator committed Nov 20, 2023
1 parent 728799b commit 32d1638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bork/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _bdist_file():
def _prepare_zipapp(dest, bdist_file):
# Prepare zipapp directory.
try_delete(dest)
Path(dest).mkdir()
Path(dest).mkdir(parents=True)
return subprocess.check_call([
sys.executable, '-m', 'pip', 'install', '--target', dest, bdist_file
])
Expand Down

0 comments on commit 32d1638

Please sign in to comment.