From b3f228878dcebeb519d2206c9d333091abe650d0 Mon Sep 17 00:00:00 2001 From: GravisZro Date: Wed, 29 Sep 2021 15:12:20 -0400 Subject: [PATCH] [EGD-7254] Fix submodule update script Fixes the long broken UpdateSubmodules.sh shell script. The script now consists of a single git command. --- UpdateSubmodules.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/UpdateSubmodules.sh b/UpdateSubmodules.sh index 350cfa9746f7a029f6403eb39591223a8dbd24bc..fe591fc0efddba26900f9e4a15cad78c2f00d4ab 100755 --- a/UpdateSubmodules.sh +++ b/UpdateSubmodules.sh @@ -1,9 +1,6 @@ #!/bin/bash -# Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. +# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. # For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md -echo "Building all submodules while checking out from MASTER branch." - -git submodule update -git submodule foreach git checkout master --recursive -git submodule foreach git pull origin master --recursive \ No newline at end of file +echo "Updating all submodules." +git submodule update --init --recursive