script revision 0ebbddd9798c87347ad0941f264d9af468a2d74e
#!/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" "$@"