Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: brian (git@myr.sh)
Date: Tue Sep 19 17:08:38 2023 -0300
Parent: 7a645fc
Fixed cat
diff --git a/post-receive b/post-receive index 1d18f8c..cf247e7 100755 --- a/post-receive +++ b/post-receive @@ -8,7 +8,7 @@ OUT="$HOME/www/dovel.email" GITDIR="$HOME/git/dovel.email" # git.html lists all repos -cat << EOF +cat << EOF > "$OUT/git.html" <!DOCTYPE html> <html> <head> @@ -43,7 +43,7 @@ cat << EOF <body> <h1>Repositories</h1> <dl> -EOF > "$OUT/git.html" +EOF for dir in "$GITDIR"/* do @@ -58,11 +58,11 @@ do } >> "$OUT/git.html" done -cat << EOF +cat << EOF >> "$OUT/git.html" </dl> </body> </html> -EOF >> "$OUT/git.html" +EOF # create commit pages # while read oldrev newrev ref