Merge pull request #2357 from pypeclub/bufix/linux-build-module-updating

Linux : flip updating submodules logic
This commit is contained in:
Ondřej Samohel 2021-12-07 18:10:12 +01:00 committed by GitHub
commit b559169acb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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