mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-21 19:41:36 +00:00
Fix source build/launch scripts for Linux x86.
This commit is contained in:
parent
d9511b9baa
commit
e4d9629b58
2 changed files with 16 additions and 4 deletions
10
run-debug.sh
10
run-debug.sh
|
@ -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
10
run.sh
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue