From f0c4e19b51f0e57ba1214cae5f25c2be719f03cc Mon Sep 17 00:00:00 2001 From: ANAND Date: Sat, 23 Nov 2019 17:37:36 +0530 Subject: [PATCH] update.sh: Use git submodule update instead of manually git pull-ing (#514) --- update.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/update.sh b/update.sh index 16193d7..c2e0db3 100755 --- a/update.sh +++ b/update.sh @@ -1,16 +1,10 @@ # Update capturetheflag git pull -# Update crafting submodule -cd mods/crafting -git pull origin master - -# Update maps submodule -cd ../ctf/ctf_map/maps -git pull origin master +# Update all submodules +git submodule update --init --recursive # Run post-processing actions for maps -cd ../../../.. ./setup_maps.sh # Run build.sh