From: Dmitry Eremin Date: Fri, 22 Feb 2013 20:14:08 +0000 (+0400) Subject: LU-2083 build: install git commit hooks automatically X-Git-Tag: 2.3.62~5 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=5fc8551aaba3bc467647d8ea549fafee039b48f9;ds=sidebyside 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 --- 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..."