Revert "only update submodule when it is not on a specific branch"

This reverts commit 93b83333aa.

Reverting since this fails on a fresh checkout. Also, we shouldn't
depend on possibly translated strings.
This commit is contained in:
Tim-Philipp Müller 2009-06-03 09:41:21 +01:00
parent df851d54ef
commit b345a8d0db

View file

@ -11,20 +11,7 @@ then
echo "+ Setting up common submodule" echo "+ Setting up common submodule"
git submodule init git submodule init
fi fi
git submodule update
# only update if the submodule is tracking master at some version,
# which means there is no branch name
cd common
branch=`git branch | grep ^* | cut -c 3-`
cd ..
if test "x$branch" == "x(no branch)"
then
echo "+ Updating common submodule"
git submodule update common
else
echo "+ Not updating common submodule on branch $branch"
fi
# source helper functions # source helper functions
if test ! -f common/gst-autogen.sh; if test ! -f common/gst-autogen.sh;