From 54c56b11c19157228f9dea59fc400dc7050ef2b8 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Wed, 15 May 2019 15:43:05 +0700 Subject: [PATCH] fix update submodules script --- scripts/update_modules.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/update_modules.sh b/scripts/update_modules.sh index a3264285..03831fd5 100755 --- a/scripts/update_modules.sh +++ b/scripts/update_modules.sh @@ -14,10 +14,8 @@ mkdir -p $UNTESTS_DIR mkdir -p $HEADERS_RDPARTY_DIR mkdir -p $SOURCES_RDPARTY_DIR -git submodule init -git submodule update -git pull --recurse-submodules -git submodule update --init --remote --recursive +git submodule update --init --recursive +git submodule update --remote mkdir -p $UNTESTS_DIR/catch cp -fv $MODULES_DIR/catch2/single_include/catch2/catch.hpp $UNTESTS_DIR/catch/catch.hpp