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:
parent
782c82faa7
commit
538eb7612a
2
Makefile
2
Makefile
@ -34,7 +34,7 @@ test-integration:
|
|||||||
|
|
||||||
.PHONY: git-hooks
|
.PHONY: git-hooks
|
||||||
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
|
.PHONY: dumpvar
|
||||||
dumpvar:
|
dumpvar:
|
||||||
|
Reference in New Issue
Block a user