diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-05 19:23:21 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-05 19:23:21 +0100 |
commit | a2a1e36f0908a2537d88c931fc61f7a778ba5254 (patch) | |
tree | f734a7044bef12e9bd74c6f21d2086b2c53a6e6c | |
parent | 8ad3f46a9f1a84fdbcfc580bed3584bdfbe6657e (diff) | |
download | libabc-a2a1e36f0908a2537d88c931fc61f7a778ba5254.tar.gz |
autogen.sh: enable git pre-commit
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ #!/bin/sh -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 + autoreconf --install --symlink libdir() { |