diff options
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index fdbff66c48..582a8a3af4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,6 +2,12 @@ set -e +if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then + cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ + chmod +x .git/hooks/pre-commit && \ + echo "Activated pre-commit hook." +fi + gtkdocize autoreconf --install --symlink |