list

scripts

Repo containing scripts to be used with dovel, and git hooks that powers our web interface.

curl https://dovel.email/scripts.tar tar

c73f252

Author: brian (git@myr.sh)

Date: Fri Sep 29 01:48:02 2023 -0300

Parent: b1424b9

Fixed typos

Diff

diff --git a/update-repo-log b/update-repo-log
index 4415ac4..ba4d0f7 100755
--- a/update-repo-log
+++ b/update-repo-log
@@ -54,7 +54,7 @@ cat << EOF > "$OUT/log.html"
<tr><th>Hash</th><th>Author</th><th>Date</th></tr>
EOF

-git log -n 100 --format='%h\n%ad\n%an\n%s'  | while read -r h
+git log -n 100 --format='%h%n%ad%n%an%n%s'  | while read -r h
do
read -r date
read -r name
diff --git a/update-repo-tree b/update-repo-tree
index fde4abd..b6bab2a 100755
--- a/update-repo-tree
+++ b/update-repo-tree
@@ -29,7 +29,7 @@ createfilepage() {

echo "creating tree.html"
cat << EOF > "$OUT/tree.html"
-	$(pageheader "$REPO")
+	$(pagehead "$REPO")
$(pagesummary)
<hr>
<h2>Tree</h2>