diff options
1 files changed, 4 insertions, 2 deletions
| -rwxr-xr-x | csg | 6 |
@@ -157,10 +157,12 @@ startTimer "[Stage 1] Moving files to destination" find . -type f -not -name "\.*" -not -name '_header.html' -not -name '_footer.html' | \ cpio -pdu "$DESTINATION" >/dev/null 2>&1) -find "$DESTINATION" -type f -name "*index.md" -links +1 | while read -r file +while read -r file do mv "$file" "${file%md}html" -done +done << EOF +$(find "$DESTINATION" -type f -name "*index.md" -links +1) +EOF if [ -n "$AWKSCRIPTS" ] then |
