update.sh: Use git submodule update instead of manually git pull-ing (#514)
This commit is contained in:
parent
e3d2a3424f
commit
f0c4e19b51
1 changed files with 2 additions and 8 deletions
10
update.sh
10
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
|
||||
|
|
Loading…
Reference in a new issue