aboutsummaryrefslogtreecommitdiff
path: root/dists/maemo
diff options
context:
space:
mode:
authorFrantisek Dufka2008-01-19 22:01:21 +0000
committerFrantisek Dufka2008-01-19 22:01:21 +0000
commitf1fb08273d8c386c4b815fcc39c4a977744f6f5f (patch)
treeba2f25906984b5292a8a9343184c5a9e038d04e0 /dists/maemo
parentb74d38586d69a375c53e3c1ef3aaaea2ed0aaf0a (diff)
downloadscummvm-rg350-f1fb08273d8c386c4b815fcc39c4a977744f6f5f.tar.gz
scummvm-rg350-f1fb08273d8c386c4b815fcc39c4a977744f6f5f.tar.bz2
scummvm-rg350-f1fb08273d8c386c4b815fcc39c4a977744f6f5f.zip
export device name to SCUMMVM_MAEMO_DEVICE variable
svn-id: r30577
Diffstat (limited to 'dists/maemo')
-rw-r--r--dists/maemo/scummvm.wrapper1
1 files changed, 1 insertions, 0 deletions
diff --git a/dists/maemo/scummvm.wrapper b/dists/maemo/scummvm.wrapper
index f3ab6508aa..56329def21 100644
--- a/dists/maemo/scummvm.wrapper
+++ b/dists/maemo/scummvm.wrapper
@@ -3,4 +3,5 @@
#BASEDIR=`dirname $0`
BASENAME=`basename $0`
export SDL_VIDEO_X11_WMCLASS=${BASENAME}
+export SCUMMVM_MAEMO_DEVICE=$(awk '/^product/ { print $2;}' /proc/component_version)
exec ${0}.bin "$@"