summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/Resources/openDoc
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-10-25 18:36:10 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-10-25 18:36:10 +0000
commit17f09296aa0beff56222e2d9c24f92a8ce94eef2 (patch)
tree9eae706e5f1145ee3184e41432f6d4315a53dce5 /packaging/macosx/Resources/openDoc
parentUpdate perspective-envelope to be affected by the clip or mask on LPE patch (diff)
parentCleaned casts from sp-shape by fixing member type. (diff)
downloadinkscape-17f09296aa0beff56222e2d9c24f92a8ce94eef2.tar.gz
inkscape-17f09296aa0beff56222e2d9c24f92a8ce94eef2.zip
Update to trunk r13638
(bzr r13341.1.286)
Diffstat (limited to 'packaging/macosx/Resources/openDoc')
-rwxr-xr-x[-rw-r--r--]packaging/macosx/Resources/openDoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/macosx/Resources/openDoc b/packaging/macosx/Resources/openDoc
index c2740c9b5..b2e58c114 100644..100755
--- a/packaging/macosx/Resources/openDoc
+++ b/packaging/macosx/Resources/openDoc
@@ -4,6 +4,12 @@
# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net>
# Inkscape Modifications: ~suv <suv-sf@users.sourceforge.net>
+get_env_current ()
+{
+ env | awk -F= '/[a-zA-Z_][a-zA-Z_0-9]*=/ {if (!system("[ -n \"${" $1 "+y}\" ]")) print $1 }' | sort | uniq
+}
+[ -z "$_env_orig" ] && export _env_orig="$(get_env_current)"
+
CWD="$(cd "$(dirname "$0")" && pwd)"
source "${CWD}/xdg_setup.sh"