build_game.sh: when gamedir parameter is specified, pull from the main repo first before pulling from gamedir
This commit is contained in:
parent
6cea322f6a
commit
2066669bee
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ if [ -f "$SCRPATH"/bin/fteqcc ]; then
|
||||||
|
|
||||||
# We want to compile a specific game
|
# We want to compile a specific game
|
||||||
if [ $# -gt 0 ]; then
|
if [ $# -gt 0 ]; then
|
||||||
|
if [ "$BUILD_UPDATE" -eq 1 ]; then
|
||||||
|
# git pull on the main repo
|
||||||
|
git pull
|
||||||
|
fi
|
||||||
|
|
||||||
cd "$SCRPATH/$1"/src
|
cd "$SCRPATH/$1"/src
|
||||||
|
|
||||||
if [ "$BUILD_UPDATE" -eq 1 ]; then
|
if [ "$BUILD_UPDATE" -eq 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue