[Debian-in-commits] [SCM] Git repository for debian-in branch, master, updated. 44c3788ed93e019112517c089cfd285177074ab8
Vasudev Kamath
kamathvasudev at gmail.com
Sun Sep 30 08:10:08 UTC 2012
The following commit has been merged in the master branch:
commit 44c3788ed93e019112517c089cfd285177074ab8
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date: Sun Sep 30 13:39:53 2012 +0530
Try to over write post-receive hook only if both are rightable
diff --git a/attic/scripts/set-git-hooks b/attic/scripts/set-git-hooks
index 275c050..ffd94fc 100755
--- a/attic/scripts/set-git-hooks
+++ b/attic/scripts/set-git-hooks
@@ -2,7 +2,7 @@
set -e
for d in *.git; do
- if test -w $d; then
+ if [ -w $d -a -w $d/hooks/post-receive ]; then
META=/home/groups/debian-in/meta
cat > $d/hooks/post-receive <<END
#!/bin/sh
--
Git repository for debian-in
More information about the Debian-in-commits
mailing list