diff options
author | Stef Walter <stef@memberwebs.com> | 2009-10-28 23:51:22 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-10-28 23:51:22 +0000 |
commit | 5b8f4f1a6cc9fbf525caa385873a0a668705c3cc (patch) | |
tree | 8a9caa487173d9b605f1cbc46588dc4d867a097e | |
parent | fc9ee15902d0dc811bb56d65179c93231f05403c (diff) |
Setup git hooks properly when a new checkout
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,14 @@ set -e +# Some boiler plate to get git setup as expected +if test -d .git; then + if test -f .git/hooks/pre-commit.sample && \ + test ! -f .git/hooks/pre-commit; then + cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit + fi +fi + aclocal autoheader automake -a |