From 5fc8551aaba3bc467647d8ea549fafee039b48f9 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Sat, 23 Feb 2013 00:14:08 +0400 Subject: [PATCH] LU-2083 build: install git commit hooks automatically Fix for previous commit http://review.whamcloud.com/4175 Signed-off-by: Dmitry Eremin Change-Id: I014455aa4e73b7a384356c8d6e65f3feb28e7e1c Reviewed-on: http://review.whamcloud.com/5494 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index b0706b4..3a40a5e 100644 --- a/autogen.sh +++ b/autogen.sh @@ -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..." -- 1.8.3.1