diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2015-01-10 16:06:20 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2015-01-10 16:06:20 +0000 |
| commit | 277023da780bc23bd9f43dcbead33f88d3ca57b9 (patch) | |
| tree | 95538a49051b0c936eb79cd12b054463cfce902d /packaging/macosx/ScriptExec | |
| parent | packaging/macosx: support using direct symlinks to the launcher script (parti... (diff) | |
| download | inkscape-277023da780bc23bd9f43dcbead33f88d3ca57b9.tar.gz inkscape-277023da780bc23bd9f43dcbead33f88d3ca57b9.zip | |
packaging/macosx: sync launcher-quartz-no-macintegration.sh with default launcher (Resources/bin/inkscape)
(bzr r13798.1.7)
Diffstat (limited to 'packaging/macosx/ScriptExec')
| -rwxr-xr-x | packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh | 3 |
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 |
