From 277023da780bc23bd9f43dcbead33f88d3ca57b9 Mon Sep 17 00:00:00 2001 From: su_v Date: Sat, 10 Jan 2015 17:06:20 +0100 Subject: packaging/macosx: sync launcher-quartz-no-macintegration.sh with default launcher (Resources/bin/inkscape) (bzr r13798.1.7) --- packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packaging/macosx/ScriptExec') 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 -- cgit v1.2.3