1 2 3 4 5 6
#!/bin/sh # Index repositories. repos="/srv/git/*.git" www="/var/www/git" stagit-index "$repos" > "$www"/index.html