Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mkdir if non existant
  • Loading branch information
Klaus Thoden committed Mar 1, 2018
1 parent 3a72ea6 commit e6ca2f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_frontmatter.py
Expand Up @@ -521,6 +521,9 @@ def create_chapter_frontmatter(eoa_publication, remove_info_page):

logging.debug("Found %d chapter files." % (len(chapter_files)))

if not os.path.exists("./generated_files/"):
os.mkdir("./generated_files/")

os.chdir("./generated_files/")

command_file = open(eoa_publication + "_copycommand.sh", "w")
Expand Down

0 comments on commit e6ca2f0

Please sign in to comment.