Commit e1d532d7 authored by Edward Hervey's avatar Edward Hervey 🤘

autogen.sh: actually setting up a symbolic link for the pre-commit hook

parent b7f617ad
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment