From 6545e728b6b76e41d711858b209accfe9cc1f6da Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 22 Mar 2010 23:04:55 +0000 Subject: Patch #2938173: LinuxMoto update 23012010 svn-id: r48362 --- dists/motomagx/pep/app/scummvm.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'dists/motomagx/pep') diff --git a/dists/motomagx/pep/app/scummvm.sh b/dists/motomagx/pep/app/scummvm.sh index 03a27f49db..83d3fcf0ed 100644 --- a/dists/motomagx/pep/app/scummvm.sh +++ b/dists/motomagx/pep/app/scummvm.sh @@ -1,10 +1,12 @@ #!/bin/sh -GAMES=/mmc/mmca1/.Games -export LD_LIBRARY_PATH=$GAMES/.lib:$LD_LIBRARY_PATH -# uncomment next line if you wanna 270-degrees clockwise rotated screen +mypath=${0%/*} +LIBDIR1=/ezxlocal/download/mystuff/games/lib +LIBDIR2=/mmc/mmca1/games/lib +LIBDIR3=/mmc/mmca1/.Games/.lib +#LIBDIR3=/mmc/mmca1/.system/lib +LIBDIR4=$mypath/lib #export SDL_QT_INVERT_ROTATION=1 -GAME_PATH=`basename $0` -GAME_PATH=`echo $0 | sed -e 's/'$GAME_PATH'//g'` -cd "$GAME_PATH" -export HOME="$GAMES" -exec ./scummvm --gfx-mode=1x > $GAME_PATH/scummvm.log +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3:$LIBDIR4 +export HOME=$mypath +cd $mypath +exec $mypath/scummvm --gfx-mode=1x > $mypath/scummvm.log -- cgit v1.2.3