script revision db7cf685a7535f4629f2dd5ca31d9c5d97f146ba
#!/bin/bash
#
# Author: Aaron Voisine <aaron@voisine.org>
# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net>
# Inkscape Modifications: ~suv <suv-sf@users.sourceforge.net>
#export _DEBUG=true
CWD="$(cd "$(dirname "$0")" && pwd)"
source "${CWD}/xdg_setup.sh"
source "${CWD}/alert_fccache.sh"
BASE="$(echo "$0" | sed -e 's/\/Contents\/Resources\/script/\//')"
cd "$BASE"
# TODO examine whether it would be wisest to move the code from inkscape shell
# script and getdisplay.sh to here and only keep the real binary in bin. This
# may make things easier on Leopard and may also help using Inkscape on the
# command line.
exec "$CWD/bin/inkscape" "$@"