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

2af60d8

Author: brian (git@myr.sh)

Date: Wed Sep 20 14:53:07 2023 -0300

Parent: 9d78145

Fixed white space

* Fixed links

Diff

diff --git a/update-repo-tree b/update-repo-tree
index 7dac49e..f93afa0 100755
--- a/update-repo-tree
+++ b/update-repo-tree
@@ -47,11 +47,11 @@ createfilepage() {
<center>
<h1>$REPO</h1>
<nav>
-			<a href=index.html>index</a> &emsp;
-			<a href=refs.html>refs</a> &emsp;
-			<a href=log.html>log</a> &emsp;
+			<a href=/$REPO/index.html>index</a> &emsp;
+			<a href=/$REPO/refs.html>refs</a> &emsp;
+			<a href=/$REPO/log.html>log</a> &emsp;
<a href=/$REPO/tree.html>tree</a> &emsp;
-			<a href=mail.html>mail</a>
+			<a href=/$REPO/mail.html>mail</a>
</nav>
<p><i>$(cat description)</i></p>
</center>
@@ -60,7 +60,7 @@ createfilepage() {
<pre>
<ol>
EOF
-	while read -r l
+	while IFS='' read -r l
do
echo "<li>$l</li>"
done < "$OUT/tree/$1"