mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
osx: rename script
* changes some references of mg to zg
This commit is contained in:
@@ -58,9 +58,9 @@ then
|
|||||||
echo "building binaries ..."
|
echo "building binaries ..."
|
||||||
cd $PROJDIR
|
cd $PROJDIR
|
||||||
[[ -d "build" ]] && rm -rf "build"
|
[[ -d "build" ]] && rm -rf "build"
|
||||||
./build-mg.sh
|
./build-zg.sh
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo 'ERROR: "./build-mg.sh" failed.' >&2; exit 1
|
echo 'ERROR: "./build-zg.sh" failed.' >&2; exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "SKIPPING build of binaries ..."
|
echo "SKIPPING build of binaries ..."
|
||||||
|
@@ -42,11 +42,11 @@ B_SCRIPT_DIR="$GAMEDIR"
|
|||||||
|
|
||||||
# -------
|
# -------
|
||||||
# useful for mods
|
# useful for mods
|
||||||
BASIC_SCRIPT="start_megaglest"
|
BASIC_SCRIPT="start_zetaglest"
|
||||||
FAKE_EXC_BINARY_MAC="MegaGlest"
|
FAKE_EXC_BINARY_MAC="ZetaGlest"
|
||||||
EXC_BINARY="megaglest"
|
EXC_BINARY="ZetaGlest"
|
||||||
EXC_BINARY_DISTRO="megaglest"
|
EXC_BINARY_DISTRO="zetaglest"
|
||||||
SHORT_GAME_NAME="megaglest"
|
SHORT_GAME_NAME="zetaglest"
|
||||||
# -------
|
# -------
|
||||||
PORTSTART=62001
|
PORTSTART=62001
|
||||||
NUM_OM_SERVERS=2
|
NUM_OM_SERVERS=2
|
@@ -58,10 +58,10 @@ if [ "$skipbinarybuild" -eq "0" ]; then
|
|||||||
echo "building binaries ..."
|
echo "building binaries ..."
|
||||||
cd "$CURRENTDIR"
|
cd "$CURRENTDIR"
|
||||||
if [ -d "build" ]; then rm -rf "build"; fi
|
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
|
if [ "$NUMCORES" != "" ]; then build_command="$build_command -c $NUMCORES"; fi
|
||||||
$build_command
|
$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
|
else
|
||||||
echo "SKIPPING build of binaries ..."
|
echo "SKIPPING build of binaries ..."
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user