diff options
author | 2012-03-21 13:23:32 +0530 | |
---|---|---|
committer | 2012-03-24 10:30:45 +0530 | |
commit | bb9f045ec37220c75b08e805b3325e28aad1da18 (patch) | |
tree | 2487993855004821d31c6db4d173b8407717b561 /src/commands/perms | |
parent | review all user input, system(), and `` (diff) | |
download | gitolite-gentoo-bb9f045ec37220c75b08e805b3325e28aad1da18.tar.gz gitolite-gentoo-bb9f045ec37220c75b08e805b3325e28aad1da18.tar.bz2 gitolite-gentoo-bb9f045ec37220c75b08e805b3325e28aad1da18.zip |
trigger POST_CREATE from user actions
- uncomment the POST_CREATE section in rc by default now
- have perms call 'gitolite trigger POST_CREATE'
Diffstat (limited to 'src/commands/perms')
-rwxr-xr-x | src/commands/perms | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/perms b/src/commands/perms index 08faff4..a476241 100755 --- a/src/commands/perms +++ b/src/commands/perms @@ -35,6 +35,7 @@ if ( $ARGV[0] eq '-l' ) { } setperms(@ARGV); +_system("gitolite", "trigger", "POST_CREATE"); # ---------------------------------------------------------------------- @@ -62,7 +63,7 @@ sub setperms { push @a, $_; } _print( $pf, @a ); - exit; + return; } _die "Invalid syntax. Please re-run with '-h' for detailed usage" if @_ != 3; |