summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-30 08:54:42 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-30 08:54:59 +0100
commit681e1c8a03c2c1c0d56cd76d3f5a9a328a8f9881 (patch)
tree1cadbdcc90a87e8685ad76cb4f4542454e1666bc /autogen.sh
parent648e37aeeba066ec297a51ec941ccf786205749a (diff)
downloadgstreamer-plugins-bad-681e1c8a03c2c1c0d56cd76d3f5a9a328a8f9881.tar.gz
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 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