diff --git a/convert.sh b/convert.sh index d579873..3c79a3e 100755 --- a/convert.sh +++ b/convert.sh @@ -10,6 +10,7 @@ echo "$DIR" date + ## Global Variables ## header="header.md" @@ -17,6 +18,7 @@ work_dir="$DIR/build" export_dir="$DIR/export" ebook_prefix="TechnologyAlternatives" + ## Functions ## function log { @@ -97,6 +99,7 @@ function convert { logf "Complete!" } + ## Cleanup ## logs "Clean PDFs" @@ -108,6 +111,7 @@ if [[ -e "$work_dir" ]]; then rm -rv "$work_dir" fi + ## Main ## mkdir -pv "$work_dir"