aboutsummaryrefslogtreecommitdiff
path: root/dists/motoezx/scummvm.lin
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/motoezx/scummvm.lin
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/motoezx/scummvm.lin')
-rw-r--r--dists/motoezx/scummvm.lin14
1 files changed, 8 insertions, 6 deletions
diff --git a/dists/motoezx/scummvm.lin b/dists/motoezx/scummvm.lin
index d9c96eeda9..83d3fcf0ed 100644
--- a/dists/motoezx/scummvm.lin
+++ b/dists/motoezx/scummvm.lin
@@ -1,10 +1,12 @@
#!/bin/sh
-. /home/native/.profile
-myfile=`basename $0`
-mypath=`echo $0 | sed -e 's/'$myfile'//g'`
-export LD_LIBRARY_PATH=/mmc/mmca1/games/lib:$LD_LIBRARY_PATH
+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
-export SDL_QT_MODIFICATOR=1
-export HOME=/mmc/mmca1/games
+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