Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 4 insertions, 3 deletions
-rwxr-xr-xcsg7
diff --git a/csg b/csg
index ac41dc8..636b052 100755
--- a/csg
+++ b/csg
@@ -43,7 +43,8 @@ fi
find . -type f -not -name "\.*" -not -name '_header.html' -not -name '_footer.html' | \
cpio -pdu "$OUTPUT" >/dev/null 2>&1)
-find "$OUTPUT" -type f -name "*index.md" -links +1 | while read -r file; do
+find "$OUTPUT" -type f -name "*index.md" -links +1 | while read -r file
+do
mv "$file" "${file%md}html"
done
@@ -126,8 +127,8 @@ transform-file() {
mv "$file" "$outf"
}
-while read -r file; do
- transform-file "$file" &
+while read -r file
+do
scripts=""
for i in {0..5}
do