Commit 56d0d725 authored by Bastien Nocera's avatar Bastien Nocera

build: Fix git submodule fetching with builddir != srcdir

We were running the git submodule update in builddir, instead of srcdir,
which might have lead to submodules not updating, and submodule tags
being reverted to older versions in some contributions.
parent 7a29cc47
......@@ -11,6 +11,8 @@ test -z "$srcdir" && srcdir=.
exit 1
pushd $srcdir
# Fetch submodules if needed
if test ! -f src/gvc/ || test ! -f data/theme/gnome-shell-sass/COPYING;
......@@ -19,6 +21,8 @@ then
git submodule update
which || {
echo "You need to install gnome-common from GNOME Git (or from"
echo "your OS vendor's package manager)."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment