mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-23 04:12:02 +00:00
Fix run.sh for moving to git
"baseq3r/vm" directory was lost in the move to git; subversion allows empty directories but git does not. Make run.sh create the directory so symlinks can be made. Otherwise run.sh fails to run the game.
This commit is contained in:
parent
7ca41f7c2f
commit
bf32458d4a
1 changed files with 2 additions and 1 deletions
3
run.sh
3
run.sh
|
@ -9,12 +9,13 @@ BIN=engine/build/$BUILD-$PLATFORM-$ARCH/q3rally.$ARCH
|
|||
|
||||
if [ ! -f $BIN ]; then
|
||||
echo "Game binary '$BIN' not found, building it..."
|
||||
make -C engine BUILD_GAME_SO=0 BUILD_SERVER=0
|
||||
make -C engine $BUILD BUILD_GAME_SO=0 BUILD_SERVER=0
|
||||
fi
|
||||
|
||||
# Create links to game logic qvms
|
||||
if [ ! -f baseq3r/vm/ui.qvm ]; then
|
||||
DIR=`pwd`
|
||||
mkdir -p baseq3r/vm
|
||||
ln -st "$DIR/baseq3r/vm/" "$DIR/engine/build/$BUILD-$PLATFORM-$ARCH/baseq3r/vm/cgame.qvm"
|
||||
ln -st "$DIR/baseq3r/vm/" "$DIR/engine/build/$BUILD-$PLATFORM-$ARCH/baseq3r/vm/qagame.qvm"
|
||||
ln -st "$DIR/baseq3r/vm/" "$DIR/engine/build/$BUILD-$PLATFORM-$ARCH/baseq3r/vm/ui.qvm"
|
||||
|
|
Loading…
Reference in a new issue