Use the correct copy of gitolite.conf.

This commit is contained in:
Ralph Bean 2015-12-22 18:27:17 +00:00
parent cc985b5531
commit 39226522ce

View file

@ -14,7 +14,7 @@ python /usr/local/bin/pkgdb_sync_git_branches.py
# Leverage gitolite's Alias.pm feature to build backwards compat links
cat /etc/gitolite/RepoAliases.header > RepoAliases.pm
# Get all repos. Strip off 'rpms/'. Convert to perl mapping. Tack it on.
grep rpms/ /etc/gitolite/conf/gitolite.conf | \
grep rpms/ ./gitolite.conf | \
sed 's/repo rpms\///g' | \
sed "s/.*/'&' => 'rpms\/&',/g" \
>> RepoAliases.pm