Fix previous commit, wasn't actually setting up a symbolic link

This commit is contained in:
Edward Hervey 2009-01-30 09:05:51 +01:00
parent e00732b9e6
commit 13301a4aaf

View file

@ -50,8 +50,8 @@ fi
# install pre-commit hook for doing clean commits # install pre-commit hook for doing clean commits
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \); if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
then then
cp common/hooks/pre-commit.hook .git/hooks/pre-commit rm -f .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
fi fi