summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ScriptExec
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-18 18:07:14 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-18 18:07:14 +0000
commite77956b4dbd029c9f6949f81fe083606f995c624 (patch)
tree74adda4df8986d65f70efb341c6235277361fd35 /packaging/macosx/ScriptExec
parentupdated code to work on 0.92 code (diff)
parentLatvian translation update (diff)
downloadinkscape-e77956b4dbd029c9f6949f81fe083606f995c624.tar.gz
inkscape-e77956b4dbd029c9f6949f81fe083606f995c624.zip
update to trunk
(bzr r12588.1.39)
Diffstat (limited to 'packaging/macosx/ScriptExec')
-rwxr-xr-xpackaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh b/packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh
index 05ffbe5c8..9cf08ed49 100755
--- a/packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh
+++ b/packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh
@@ -15,7 +15,8 @@ get_env_current ()
[ -n "$INK_DEBUG_LAUNCHER" ] && set -x
-CWD="$(cd "$(dirname "$0")" && pwd)"
+CMD="$(readlink $0 || echo $0)"
+CWD="$(cd "$(dirname "$CMD")" && pwd -P)"
# e.g. /Applications/Inkscape.app/Contents/MacOS
TOP="$(dirname "$CWD")/Resources"
# e.g. /Applications/Inkscape.app/Contents/Resources