mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
validate: Properly set the pre commit hook
This commit is contained in:
parent
7d55065277
commit
08898ff219
1 changed files with 3 additions and 3 deletions
|
@ -25,10 +25,10 @@ fi
|
|||
. common/gst-autogen.sh
|
||||
|
||||
# install pre-commit hook for doing clean commits
|
||||
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
|
||||
if test ! \( -x ../.git/hooks/pre-commit -a -L ../.git/hooks/pre-commit \);
|
||||
then
|
||||
rm -f .git/hooks/pre-commit
|
||||
ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
|
||||
rm -f ../.git/hooks/pre-commit
|
||||
ln -s ../../validate/common/hooks/pre-commit.hook ../.git/hooks/pre-commit
|
||||
fi
|
||||
|
||||
# GNU gettext automake support doesn't get along with git.
|
||||
|
|
Loading…
Reference in a new issue