diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2015-12-07 09:08:15 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2015-12-07 09:08:15 -0500 |
commit | 08a31bb27f13cf388fce04232c47053564d4abff (patch) | |
tree | 777c86aa22834c0d9c91dbae2d42ac98d736bb23 /autogen.sh | |
parent | fe45de837c03242c3555f05dc7585275fc6bf4d5 (diff) | |
download | gstreamer-plugins-bad-08a31bb27f13cf388fce04232c47053564d4abff.tar.gz |
Automatic update of common submodule
From b319909 to 86e4663
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 7912654ae..a92efea33 100755 --- a/autogen.sh +++ b/autogen.sh @@ -37,7 +37,11 @@ fi 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 + if ! ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit 2> /dev/null + then + echo "Failed to create commit hook symlink, copying instead ..." + cp common/hooks/pre-commit.hook .git/hooks/pre-commit + fi fi # GNU gettext automake support doesn't get along with git. |