summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 16:38:50 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 16:38:50 +0100
commit6078ff6553e06e6d6f407f46067364c9bae0aafc (patch)
treee88bf0353b800d150f66737dbddf345f6a851aed
feat: add stagit-gen-index
-rwxr-xr-xbin/stagit-gen-index6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/stagit-gen-index b/bin/stagit-gen-index
new file mode 100755
index 0000000..d3ba121
--- /dev/null
+++ b/bin/stagit-gen-index
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Index repositories.
+
+repos="/srv/git/*.git"
+www="/var/www/git"
+stagit-index "$repos" > "$www"/index.html