summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-30 09:00:21 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-30 09:00:21 +0100
commit97a92d428d65eb6b4002fef9f6f6ed7873349711 (patch)
treef22847fe9717f3351499936d685b2e074db359c2 /autogen.sh
parent60f09cd9856077e5fddfdb1e3d00b02ff3e84b16 (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 61f901f..88843f3 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