summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2008-03-12 23:37:45 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2008-03-12 23:37:45 +0000
commite3d2779355f56ac94afdb24202461099984c4e51 (patch)
treeede6b37eabe9c3e2355dbef14c560cea40b3d138
parenttweaked patch from Ulf to make extension working (diff)
downloadinkscape-e3d2779355f56ac94afdb24202461099984c4e51.tar.gz
inkscape-e3d2779355f56ac94afdb24202461099984c4e51.zip
* 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. (bzr r5074)
-rwxr-xr-xpackaging/macosx/Resources/openDoc2
1 files changed, 1 insertions, 1 deletions
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" "$@"