Stop .git directory being copied when creating html

master
Jonathan Hodgson 3 years ago
parent 2175699660
commit 992a47f727
  1. 2
      inc/to-html

@ -56,7 +56,7 @@ to-html(){
done done
rsync -a \ rsync -a \
--exclude "*.md" --exclude "*.sqlite3" \ --exclude "*.md" --exclude ".git" --exclude "*.sqlite3" \
"$dataDir/" "$destination" "$dataDir/" "$destination"
rm "$tocFile" "$templateFile" rm "$tocFile" "$templateFile"

Loading…
Cancel
Save