mirror of
https://github.com/glest/glest-source.git
synced 2025-02-22 18:54:58 +01:00
osx: rename script
* changes some references of mg to zg
This commit is contained in:
parent
409f0f2333
commit
13a1c734f3
@ -52,15 +52,15 @@ if [ "$SOURCE_BRANCH" != "" ]; then echo "Detected parameters for source reposit
|
||||
[[ -d "$RELEASEDIR" ]] && rm -rf "$RELEASEDIR"
|
||||
mkdir -p "$RELEASEDIR"
|
||||
|
||||
if [ $skipbinarybuild = 0 ]
|
||||
if [ $skipbinarybuild = 0 ]
|
||||
then
|
||||
# build the binaries
|
||||
echo "building binaries ..."
|
||||
cd $PROJDIR
|
||||
[[ -d "build" ]] && rm -rf "build"
|
||||
./build-mg.sh
|
||||
./build-zg.sh
|
||||
if [ $? -ne 0 ]; then
|
||||
echo 'ERROR: "./build-mg.sh" failed.' >&2; exit 1
|
||||
echo 'ERROR: "./build-zg.sh" failed.' >&2; exit 1
|
||||
fi
|
||||
else
|
||||
echo "SKIPPING build of binaries ..."
|
||||
|
@ -42,11 +42,11 @@ B_SCRIPT_DIR="$GAMEDIR"
|
||||
|
||||
# -------
|
||||
# useful for mods
|
||||
BASIC_SCRIPT="start_megaglest"
|
||||
FAKE_EXC_BINARY_MAC="MegaGlest"
|
||||
EXC_BINARY="megaglest"
|
||||
EXC_BINARY_DISTRO="megaglest"
|
||||
SHORT_GAME_NAME="megaglest"
|
||||
BASIC_SCRIPT="start_zetaglest"
|
||||
FAKE_EXC_BINARY_MAC="ZetaGlest"
|
||||
EXC_BINARY="ZetaGlest"
|
||||
EXC_BINARY_DISTRO="zetaglest"
|
||||
SHORT_GAME_NAME="zetaglest"
|
||||
# -------
|
||||
PORTSTART=62001
|
||||
NUM_OM_SERVERS=2
|
@ -58,10 +58,10 @@ if [ "$skipbinarybuild" -eq "0" ]; then
|
||||
echo "building binaries ..."
|
||||
cd "$CURRENTDIR"
|
||||
if [ -d "build" ]; then rm -rf "build"; fi
|
||||
build_command="./build-mg.sh -b"
|
||||
build_command="./build-zg.sh -b"
|
||||
if [ "$NUMCORES" != "" ]; then build_command="$build_command -c $NUMCORES"; fi
|
||||
$build_command
|
||||
if [ "$?" -ne "0" ]; then echo 'ERROR: "./build-mg.sh" failed.' >&2; exit 1; fi
|
||||
if [ "$?" -ne "0" ]; then echo 'ERROR: "./build-zg.sh" failed.' >&2; exit 1; fi
|
||||
else
|
||||
echo "SKIPPING build of binaries ..."
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user