summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-30 09:05:51 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-30 09:05:51 +0100
commit13301a4aafb4c9db7f87bb2a8b2c71c223649653 (patch)
tree03fa2a862f74f222aaf04175018aa0274f863de1 /autogen.sh
parente00732b9e6d025065cfd2cb7fd8d873a9337375d (diff)
Fix previous commit, wasn't actually setting up a symbolic link
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 7fd50e2..119e0ed 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -50,8 +50,8 @@ fi
# install pre-commit hook for doing clean commits
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
then
- cp common/hooks/pre-commit.hook .git/hooks/pre-commit
- chmod +x .git/hooks/pre-commit
+ rm -f .git/hooks/pre-commit
+ ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
fi