diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-02-12 17:48:48 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-02-12 17:48:48 +0100 |
commit | 004a582b4c04b0fe5cd74f88c38c9b99281d90db (patch) | |
tree | 4c30d482609ca14c5f22519b056d1d1645de53c0 | |
parent | 19c9a36584217dfb20b071cb9c6f68cba6c9d0ad (diff) |
fix: path in indexing
-rwxr-xr-x | bin/stagit-gen-index | 4 |
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 |