summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-30 09:07:08 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-30 09:07:08 +0100
commitc0beeae481565dc3f96d76d4e2407097ffce5764 (patch)
tree8bd9febd0b6b827f62952722c2a0e5bc79525f09 /autogen.sh
parent97a92d428d65eb6b4002fef9f6f6ed7873349711 (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 88843f3..6703415 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -25,8 +25,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
CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc'