aboutsummaryrefslogtreecommitdiff
path: root/dists/motomagx/pep
diff options
context:
space:
mode:
authorMax Horn2010-03-22 23:04:55 +0000
committerMax Horn2010-03-22 23:04:55 +0000
commit6545e728b6b76e41d711858b209accfe9cc1f6da (patch)
tree59327c6347195e6a4371dd0cb2aa4d4bbdecd58c /dists/motomagx/pep
parentb104534d0d6342bf75d5eff8bd85847fc7e7f18f (diff)
downloadscummvm-rg350-6545e728b6b76e41d711858b209accfe9cc1f6da.tar.gz
scummvm-rg350-6545e728b6b76e41d711858b209accfe9cc1f6da.tar.bz2
scummvm-rg350-6545e728b6b76e41d711858b209accfe9cc1f6da.zip
Patch #2938173: LinuxMoto update 23012010
svn-id: r48362
Diffstat (limited to 'dists/motomagx/pep')
-rw-r--r--dists/motomagx/pep/app/scummvm.sh18
1 files changed, 10 insertions, 8 deletions
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