From 934924577a13e95f688f222e3cf59687f74a8ab8 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Fri, 10 May 2019 15:05:38 +0200
Subject: [PATCH] Fix for update script when submodule is not initialized

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
---
 build/update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/update.sh b/build/update.sh
index cf1ae9103e4..8c52ea7a799 100755
--- a/build/update.sh
+++ b/build/update.sh
@@ -11,7 +11,7 @@ git --no-pager log -3 --pretty=format:"%h %Cblue%ar%x09%an %Creset%s"
 printf "\n"
 git branch --merged master | grep -v "master$" | xargs --no-run-if-empty git branch -d
 git fetch --prune --quiet
-git submodule update
+git submodule update --init
 
 # Update apps
 source ./build/update-apps.sh
-- 
GitLab