update.sh: Use git submodule update instead of manually git pull-ing (#514)

This commit is contained in:
ANAND 2019-11-23 17:37:36 +05:30 committed by Thomas--S
parent e3d2a3424f
commit f0c4e19b51
1 changed files with 2 additions and 8 deletions

View File

@ -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