summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 17:48:48 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-02-12 17:48:48 +0100
commit004a582b4c04b0fe5cd74f88c38c9b99281d90db (patch)
tree4c30d482609ca14c5f22519b056d1d1645de53c0
parent19c9a36584217dfb20b071cb9c6f68cba6c9d0ad (diff)
fix: path in indexing
-rwxr-xr-xbin/stagit-gen-index4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stagit-gen-index b/bin/stagit-gen-index
index d3ba121..fe13c6f 100755
--- a/bin/stagit-gen-index
+++ b/bin/stagit-gen-index
@@ -1,6 +1,6 @@
#!/bin/sh
# Index repositories.
-repos="/srv/git/*.git"
+srv="/srv/git"
www="/var/www/git"
-stagit-index "$repos" > "$www"/index.html
+stagit-index "$repos"/*.git > "$www"/index.html