#!/bin/sh # Index repositories. repos="/srv/git/*.git" www="/var/www/git" stagit-index "$repos" > "$www"/index.html