Update submodules if they're there

Some of our things, like new upstream gerrit, may have submodules
in them. In order to make sure that they, you know, work. We should
run some submodules update commands.

Change-Id: I7c47dd71a49108e79e27b5ba69fa09da638b3764
This commit is contained in:
Monty Taylor 2013-12-10 01:43:44 +01:00
parent 4059bb325f
commit 8be4b62e4d

View File

@ -79,3 +79,10 @@ else
git clean -x -f -d -q
fi
fi
if [ -f .gitmodules ]
then
git submodule init
git submodule sync
git submodule update --init
fi