mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +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
|
. common/gst-autogen.sh
|
||||||
|
|
||||||
# install pre-commit hook for doing clean commits
|
# 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
|
then
|
||||||
rm -f .git/hooks/pre-commit
|
rm -f ../.git/hooks/pre-commit
|
||||||
ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
|
ln -s ../../validate/common/hooks/pre-commit.hook ../.git/hooks/pre-commit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# GNU gettext automake support doesn't get along with git.
|
# GNU gettext automake support doesn't get along with git.
|
||||||
|
|
Loading…
Reference in a new issue