summaryrefslogtreecommitdiffstats
path: root/fbreader/moto/FBReader.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fbreader/moto/FBReader.sh')
-rwxr-xr-xfbreader/moto/FBReader.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/fbreader/moto/FBReader.sh b/fbreader/moto/FBReader.sh
new file mode 100755
index 0000000..5194b13
--- /dev/null
+++ b/fbreader/moto/FBReader.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+this=`basename $0`
+this=`echo $0 | sed -e 's/\/'$this'$//'`
+cd $this/..
+. /home/native/.profile
+export HOME=`pwd`
+export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
+exec bin/FBReader -lang `bin/language_detector` $2