diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-01-30 08:57:53 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-01-30 08:57:53 +0100 |
commit | e00732b9e6d025065cfd2cb7fd8d873a9337375d (patch) | |
tree | 05b624183db2c240ddeb90a08a36e872f71c52f8 /autogen.sh | |
parent | 9fc91546ea91af0b6f14418b8ec26abf64b0cc72 (diff) |
Use a symbolic link for the pre-commit client-side hook
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index c9000bb1dc..7fd50e21d7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -48,7 +48,7 @@ fi . common/gst-autogen.sh # install pre-commit hook for doing clean commits -if test ! -x .git/hooks/pre-commit; +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 |