diff options
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 0ea5b171f..7bceb7c48 100755 --- a/autogen.sh +++ b/autogen.sh @@ -23,7 +23,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 |