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:
parent
70ad045e08
commit
be61cd2d66
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue