~aleteoryx/muditaos

b3f228878dcebeb519d2206c9d333091abe650d0 — GravisZro 4 years ago 23a42d0
[EGD-7254] Fix submodule update script

Fixes the long broken UpdateSubmodules.sh shell script.  The script now
consists of a single git command.
1 files changed, 3 insertions(+), 6 deletions(-)

M UpdateSubmodules.sh
M UpdateSubmodules.sh => UpdateSubmodules.sh +3 -6
@@ 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