[X2Go-Commits] [maintenancescripts] 05/10: git/hooks/update-script._grant_: use common.sh.
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 23 21:34:42 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository maintenancescripts.
commit 21764ab1c1a46123857915c2e0ae000e5aee11ae
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Feb 23 21:07:04 2015 +0100
git/hooks/update-script._grant_: use common.sh.
---
git/hooks/update-script._grant_ | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/git/hooks/update-script._grant_ b/git/hooks/update-script._grant_
index eec2d2b..fb3c2c1 100755
--- a/git/hooks/update-script._grant_
+++ b/git/hooks/update-script._grant_
@@ -1,20 +1,11 @@
#!/bin/bash
-umask 002 -x
+. hooks/common.sh
# If you are having trouble with this access control hook script
# you can try setting this to true. It will tell you exactly
# why a user is being allowed/denied access.
-verbose=true
+verbose="1"
-# Default shell globbing messes things up downstream
-GLOBIGNORE=*
-
-function grant {
- $verbose && echo >&2 "-Grant- $1"
- echo grant
- exit 0
-}
-
-grant "Granting access."
\ No newline at end of file
+grant "Granting access."
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
More information about the x2go-commits
mailing list