Fix source build/launch scripts for Linux x86.

This commit is contained in:
zturtleman 2018-01-10 02:58:42 +00:00
parent d9511b9baa
commit e4d9629b58
2 changed files with 16 additions and 4 deletions

View file

@ -2,10 +2,16 @@
# Q3Rally (debug) Unix Launcher
PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'|sed -e 's/\//_/g'`
ARCH=`uname -m | sed -e s/i.86/i386/`
ARCH=`uname -m | sed -e s/i.86/x86/`
BUILD=debug
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally.$ARCH
if [ $ARCH = "x86" ]; then
FULLBINEXT=
else
FULLBINEXT=.$ARCH
fi
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally$FULLBINEXT
if [ ! -f $BIN ]; then
echo "Game binary '$BIN' not found, building it..."

10
run.sh
View file

@ -2,10 +2,16 @@
# Q3Rally Unix Launcher
PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'|sed -e 's/\//_/g'`
ARCH=`uname -m | sed -e s/i.86/i386/`
ARCH=`uname -m | sed -e s/i.86/x86/`
BUILD=release
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally.$ARCH
if [ $ARCH = "x86" ]; then
FULLBINEXT=
else
FULLBINEXT=.$ARCH
fi
BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally$FULLBINEXT
if [ ! -f $BIN ]; then
echo "Game binary '$BIN' not found, building it..."