make sure gl-perms exists, even if it is empty...

I expect this to help if we optimise the rule generation by caching.
This commit is contained in:
Sitaram Chamarty 2012-11-06 06:19:13 +05:30
parent 70ad045e08
commit be61cd2d66
3 changed files with 4 additions and 2 deletions

View file

@ -48,6 +48,7 @@ echo "$from forked to $to" >&2
cd $GL_REPO_BASE/$to.git
echo $GL_USER > gl-creator
touch gl-perms
if gitolite query-rc -q DEFAULT_ROLE_PERMS
then
gitolite query-rc DEFAULT_ROLE_PERMS > gl-perms