Skip to content

Commit

Permalink
Prevent duplicate makedirs creation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed Feb 11, 2021
1 parent 87bb1f7 commit 0b9d6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
# ReadTheDocs Build Help
#
def run_cmake_doxygen():
os.mkdir('cmake-build')
os.makedirs('cmake-build', exist_ok=True)
subprocess.call(
"cmake -DZTD_TEXT_DOCUMENTATION:BOOL=TRUE -DZTD_TEXT_DOCUMENTATION_NO_SPHINX:BOOL=TRUE ../../..",
shell=True,
Expand Down

0 comments on commit 0b9d6ae

Please sign in to comment.