site

My personal website.

Date: Tue, 13 Jul 2021 15:52:38 +0200

Stop generate from copying the .git directory

Diffstat:

M generate                            |       3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)

@@ -185,7 +185,8 @@ escape() {
 }
 
 rm -rf "$dir"
-cp -rf . "$dir"
+mkdir "$dir"
+cp -rf ./* "$dir"
 files="$(find "$dir" -name '*.gmi')"
 
 while read -r file <&4; do