diff options
1 files changed, 5 insertions, 3 deletions
| -rwxr-xr-x | csg | 8 |
@@ -213,7 +213,7 @@ endTimer "[Stage 1] Done" ### Transforming Markdown startTimer "[Stage 2] Transforming Markdown to HTML" -transform-file() { +transform_file() { local file="$1" local outf="${file%md}html" local scripts="$2" @@ -299,8 +299,10 @@ do [ "${scr_recip[$i]}" != "${scr_recip[$i]/${file%md}html/}" ] && scripts+=" -f ${scr_path[$i]} " done - transform-file "$file" "$scripts" & -done < <(find "$DESTINATION" -type f -name "*.md") + transform_file "$file" "$scripts" & +done << EOF +$(find "$DESTINATION" -type f -name "*.md") +EOF wait overwriteLine "[Stage 2] Generating sitemap" |
