------------------------------------------------------------
revno: 253
committer: root <[email protected]>
branch nick: administration
timestamp: Tue 2011-01-04 16:08:00 -0500
message:
Fix Git-CIA installation
modified:
git.txt
=== modified file 'git.txt'
--- a/git.txt 2010-12-18 22:39:14 +0000
+++ b/git.txt 2011-01-04 21:08:00 +0000
@@ -252,12 +252,12 @@
project=XXX
export GIT_DIR=${project}.git
+chattr -i $GIT_DIR/hooks
cat <<'EOF' > $GIT_DIR/hooks/update
#!/bin/bash
-exec run-parts hooks/update.d
+exec run-parts --arg "$1" --arg "$2" --arg "$3" -- hooks/update.d
EOF
chmod 755 $GIT_DIR/hooks/update
-chattr -i $GIT_DIR/hooks
mkdir -m 755 $GIT_DIR/hooks/update.d
chattr +i $GIT_DIR/hooks
_______________________________________________
Savannah-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/savannah-cvs