Merge branch 'master' of ssh://repo.or.cz/srv/git/girocco
[girocco/susan.git] / gitweb / genindex.sh
blob05709ca599b4cdf8df054ee3a1778cee54165db4
1 #!/bin/bash
3 # genindex - Generate gitweb project list from Girocco's
5 . @basedir@/shlib.sh
7 set -e
9 get_repo_list | while read proj; do
10 echo "$proj.git $(cd "$cfg_reporoot/$proj.git" && config_get owner)"
11 done >/tmp/gitweb.list.$$
12 mv /tmp/gitweb.list.$$ "$cfg_chroot/etc/gitweb.list"