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

View file

@ -1,16 +1,10 @@
# Update capturetheflag # Update capturetheflag
git pull git pull
# Update crafting submodule # Update all submodules
cd mods/crafting git submodule update --init --recursive
git pull origin master
# Update maps submodule
cd ../ctf/ctf_map/maps
git pull origin master
# Run post-processing actions for maps # Run post-processing actions for maps
cd ../../../..
./setup_maps.sh ./setup_maps.sh
# Run build.sh # Run build.sh