script revision 37f29880ec9df432524d92aba7e3b81e4c21506d
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# Author: Aaron Voisine <aaron@voisine.org>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# Inkscape Modifications: ~suv <suv-sf@users.sourceforge.net>
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#export _DEBUG=true
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico env | awk -F= '/[a-zA-Z_][a-zA-Z_0-9]*=/ {if (!system("[ -n \"${" $1 "+y}\" ]")) print $1 }' | sort | uniq
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNico[ -z "$_env_orig" ] && export _env_orig="$(get_env_current)"
40e5cf3e8f0ddda79b1650df77d0f847a22822bfJazzyNicosource "${CWD}/xdg_setup.sh"
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# TODO examine whether it would be wisest to move the code from inkscape shell
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# script and getdisplay.sh to here and only keep the real binary in bin. This
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# may make things easier on Leopard and may also help using Inkscape on the
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# command line.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# See related FIXME in bin/inkscape for requirements to merge the two scripts.