remove-user.sh: improve robustness
[girocco.git] / gitweb / genindex.sh
blobfea670d140ebc362747c40dcd32023d076be8413
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 -f /tmp/gitweb.list.$$ "$cfg_chroot/etc/gitweb.list"