summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-30 08:57:53 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-30 08:57:53 +0100
commite00732b9e6d025065cfd2cb7fd8d873a9337375d (patch)
tree05b624183db2c240ddeb90a08a36e872f71c52f8 /autogen.sh
parent9fc91546ea91af0b6f14418b8ec26abf64b0cc72 (diff)
Use a symbolic link for the pre-commit client-side hook
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
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