Hardcode the '/srv/git/hooks' directory for now.
authorStephen Haberman <stephen@exigencecorp.com>
Fri, 20 Jun 2008 14:58:27 +0000 (09:58 -0500)
committerStephen Haberman <stephen@exigencecorp.com>
Fri, 20 Jun 2008 14:58:27 +0000 (09:58 -0500)
cbas/post-receive
cbas/pre-receive

index f345eed..0511475 100644 (file)
@@ -8,6 +8,6 @@ while read line ; do
     input="$input$line"
 done
 
-echo $input | sh $GIT_DIR/hooks/post-receive-email
-echo $input | sh $GIT_DIR/hooks/post-receive-trac
+echo $input | sh /srv/git/hooks/server/post-receive-email
+echo $input | sh /srv/git/hooks/server/post-receive-trac
 
index 5ed7e5c..692a86e 100644 (file)
@@ -5,6 +5,6 @@ while read line ; do
     input="$input$line"
 done
 
-echo $input | sh $GIT_DIR/hooks/pre-receive-stable &&
-echo $input | sh $GIT_DIR/hooks/noop
+echo $input | sh /srv/git/hooks/server/pre-receive-stable &&
+echo $input | sh /srv/git/hooks/server/pre-receive-trac