summaryrefslogtreecommitdiffstats
path: root/build/update.sh
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-05-10 15:05:38 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-05-17 22:49:39 +0200
commit934924577a13e95f688f222e3cf59687f74a8ab8 (patch)
treec38bdfa70650cd70eb28fe399a9e3615d5ff75a8 /build/update.sh
parentb403d72f518dd47d1fcd0ee18bc1475bbfadbd32 (diff)
downloadnextcloud-server-934924577a13e95f688f222e3cf59687f74a8ab8.tar.gz
nextcloud-server-934924577a13e95f688f222e3cf59687f74a8ab8.zip
Fix for update script when submodule is not initialized
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'build/update.sh')
-rwxr-xr-xbuild/update.sh2
1 files changed, 1 insertions, 1 deletions
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