validate: Always git submodule update from the toplevel directory

Otherwise it fails with older git versions
This commit is contained in:
Thibault Saunier 2015-05-12 09:55:58 +02:00
parent 2c3d0c9eab
commit 0969e79607

View file

@ -18,14 +18,14 @@ package=gst-validate
srcfile=gst-validate.doap
# Make sure we have common
if test ! -f common/gst-autogen.sh;
cd ../
if test ! -f validate/common/gst-autogen.sh;
then
echo "+ Setting up common submodule"
cd ../
git submodule init
cd validate/
fi
git submodule update
cd validate/
# source helper functions
if test ! -f common/gst-autogen.sh;