#! /bin/sh

basedir=$(dirname "$0")
enginedir="${basedir}/prince-engine"

LD_LIBRARY_PATH="${basedir}/lib"
export LD_LIBRARY_PATH

FONTCONFIG_PATH="${basedir}/etc/fontconfig"
export FONTCONFIG_PATH

exec "${enginedir}/bin/prince" --prefix="${enginedir}" "$@"
