diff --git a/build_frontmatter.py b/build_frontmatter.py index 8183311..4454bac 100644 --- a/build_frontmatter.py +++ b/build_frontmatter.py @@ -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")