Skip to content

Commit 47ac5ed

Browse files
committed
helpers: Pull updates to submodules as well
Without this any submodules could get out of sync.
1 parent f8a462f commit 47ac5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ buildmw() {
269269
if [[ "$BUILDOFFLINE" = "" && "$PKG" != *"-localbuild" ]]; then
270270
if [ -z "$GIT_REVISION" ]; then
271271
minfo "pulling updates..."
272-
git pull >>$LOG 2>&1|| die "pulling of updates failed"
272+
git pull --recurse-submodules >>$LOG 2>&1|| die "pulling of updates failed"
273273
else
274274
git diff-index --quiet HEAD -- || die "workdir of $PKG is not clean, refusing to reset version"
275275
minfo "setting version to $GIT_REVISION..."

0 commit comments

Comments
 (0)