Whamcloud - gitweb
LU-2083 build: install git commit hooks automatically
authorDmitry Eremin <dmitry.eremin@intel.com>
Fri, 22 Feb 2013 20:14:08 +0000 (00:14 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 5 Mar 2013 23:14:26 +0000 (18:14 -0500)
Fix for previous commit http://review.whamcloud.com/4175

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I014455aa4e73b7a384356c8d6e65f3feb28e7e1c
Reviewed-on: http://review.whamcloud.com/5494
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
autogen.sh

index b0706b4..3a40a5e 100644 (file)
@@ -4,7 +4,7 @@
 
 # install Lustre Git commit hooks by default - LU-2083
 for HOOK in commit-msg prepare-commit-msg; do
-       [ -e .git/hooks/$HOOK ] || ln -sf ../build/$HOOK .git/hooks/
+       [ -e .git/hooks/$HOOK ] || ln -sf ../../build/$HOOK .git/hooks/
 done
 
 echo "Checking for a complete tree..."