From 538eb7612a763d820afbe0b996ce51e101710664 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Wed, 2 Sep 2015 23:23:31 -0400 Subject: [PATCH] fix git-hook directive in Makefile - symlinks are relative to the destination file - don't check if it exists first - just obliterate --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c02c2bb..128e91d 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ test-integration: .PHONY: git-hooks git-hooks: - [[ -e .git/hooks/pre-commit ]] || ln -s ./tools/pre-commit.sh .git/hooks/pre-commit + ln -sf ../../tools/pre-commit.sh .git/hooks/pre-commit .PHONY: dumpvar dumpvar: