#!/bin/sh
set -x		# verbose while testing
cd `/usr/bin/dirname $0`
export scriptdir=`/usr/bin/dirname $0`
export LD_LIBRARY_PATH=$scriptdir/lib:$LD_LIBRARY_PATH
export PATH=$scriptdir:$PATH
export DISPLAY=:0.0
(/usr/local/bin/lua djview-ddjvu.lua | ./xx -p)&
exit 0

