diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-01-22 06:16:14 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-01-22 06:16:14 +0100 |
commit | 548a0d7f4bbe7a8af837f65371edb62788d0e6dc (patch) | |
tree | 7df41ffccba6cf0a909bc55ab025b3c4d7aba0e8 /autogen.sh | |
parent | 4627076310b8e4978724cee66bd28ae07315d4fd (diff) |
Install and use pre-commit indentation hook from common
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -47,6 +47,14 @@ then fi . common/gst-autogen.sh +# install pre-commit hook for doing clean commits +if test ! -x .git/hooks/pre-commit; +then + cp common/hooks/pre-commit.hook .git/hooks/pre-commit + chmod +x .git/hooks/pre-commit +fi + + # Let's check if we can disable the building of the ffmpeg binary can_disable=`$FFMPEG_CO_DIR/configure --help | grep 'disable-ffmpeg' | wc -l` |