fix git-hook directive in Makefile

- symlinks are relative to the destination file
- don't check if it exists first - just obliterate
This commit is contained in:
Dave Eddy 2015-09-02 23:23:31 -04:00
parent 782c82faa7
commit 538eb7612a

View File

@ -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: