flip updating submodules logic

This commit is contained in:
Ondrej Samohel 2021-12-01 18:56:41 +01:00
parent ed2d062bf5
commit 61c87bd4ad
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -178,10 +178,10 @@ main () {
fi
if [ "$disable_submodule_update" == 1 ]; then
echo -e "${BIGreen}>>>${RST} Making sure submodules are up-to-date ..."
git submodule update --init --recursive
echo -e "${BIYellow}***${RST} Not updating submodules ..."
else
echo -e "${BIYellow}***${RST} Not updating submodules ..."
echo -e "${BIGreen}>>>${RST} Making sure submodules are up-to-date ..."
git submodule update --init --recursive
fi
echo -e "${BIGreen}>>>${RST} Building ..."
if [[ "$OSTYPE" == "linux-gnu"* ]]; then