fakestache-ssg

[Archived] A static site generator in Bash 4.
Log | Files | Refs | Submodules | README

commit c1b0fd37ee3d1d9b99f5f2481dd9cac51140a37e
parent b08a742203177763b2dd6c352e8db0b1485c25a3
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Tue,  1 Nov 2016 15:36:01 -0400

Remove the content of hte `$TMP_PATH` folder on reset.

Diffstat:
Mfunctions/create-html-sections | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions/create-html-sections b/functions/create-html-sections @@ -14,9 +14,9 @@ create_html_sections () { fi # For each section page create a temporary "includes" folder - mkdir -p "$TMP_PATH/panstash/$(basename "$indexsubdir")" + mkdir -p "$TMP_PATH/$(basename "$indexsubdir")" - tmp_folder="$TMP_PATH/panstash/$(basename "$indexsubdir")" + tmp_folder="$TMP_PATH/$(basename "$indexsubdir")" # For all markdown files that are not "index.md" for markdown in $(find "$indexsubdir/" -type f \( -name "*.md" ! -name "index.md" \)); do