From e55c53c6fa62ebd000a000ad73e3faa558716e10 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Wed, 12 Mar 2008 23:37:45 +0000 Subject: [PATCH] * packaging/macosx/Resources/openDoc: Fix a bug with the path being set incorrectly when the user opens a second instance of Inkscape by dropping an SVG file on the Dock icon while Inkscape.app is already running. --- packaging/macosx/Resources/openDoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/macosx/Resources/openDoc b/packaging/macosx/Resources/openDoc index 9b1d7718c..fd37dd128 100755 --- a/packaging/macosx/Resources/openDoc +++ b/packaging/macosx/Resources/openDoc @@ -12,6 +12,6 @@ if [[ $VERSION -le 4 ]]; then export "DISPLAY=`cat /tmp/display.$UID`" fi -BASE="`echo "$0" | sed -e 's/\/[A-Za-z]*.app\/Contents\/Resources\/openDoc/\//'`" +BASE="`echo "$0" | sed -e 's/\/Contents\/Resources\/openDoc/\//'`" cd "$BASE" exec "$CWD/bin/inkscape" "$@" -- 2.30.2