~ubuntu-branches/ubuntu/vivid/gitolite3/vivid-proposed

« back to all changes in this revision

Viewing changes to src/commands/create

  • Committer: Package Import Robot
  • Author(s): David Bremner
  • Date: 2013-07-30 22:47:45 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130730224745-fhyqb6fvrbr6uxgt
Tags: 3.5.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
[ -z "$GL_USER" ] && die GL_USER not set
13
13
 
14
14
# ----------------------------------------------------------------------
15
 
exec $GL_BINDIR/commands/perms -c "$@" < /dev/null
 
15
gitolite git-config -r $1 gitolite-options.default.roles | sort | cut -f3 |
 
16
    perl -pe 's/(\s)CREATOR(\s|$)/$1$ENV{GL_USER}$1/' | $GL_BINDIR/commands/perms -c "$@"