build_game.sh: add SKIP_UPDATE check

This commit is contained in:
Marco Cawthorne 2021-09-09 19:18:50 +02:00
parent bc2fbb4a69
commit b7f722dae1
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
#!/bin/sh
. ./build.cfg
if [ "$SKIP_UPDATE" == "1" ]; then
BUILD_UPDATE=0
fi
# if we're attempting to update the projects, check for git
if [ "$BUILD_UPDATE" -eq 1 ]; then
if ! [ -x "$(command -v git)" ]; then