Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 5 insertions, 3 deletions
-rwxr-xr-xcsg8
diff --git a/csg b/csg
index 035d91f..5806738 100755
--- a/csg
+++ b/csg
@@ -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"