#!/bin/sh
#
# This shell script launches the static version of OVITO after
# adding the directory with the third-party libraries to LD_LIBRARY_PATH.

appname="ovitostatic"
dirname=`dirname $0`
tmp="${dirname#?}"
if [ "${dirname%$tmp}" != "/" ]; then
  dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
$dirname/$appname $*
