diff options
| author | mjwybrow <mjwybrow@users.sourceforge.net> | 2008-03-12 23:37:45 +0000 |
|---|---|---|
| committer | mjwybrow <mjwybrow@users.sourceforge.net> | 2008-03-12 23:37:45 +0000 |
| commit | e3d2779355f56ac94afdb24202461099984c4e51 (patch) | |
| tree | ede6b37eabe9c3e2355dbef14c560cea40b3d138 | |
| parent | tweaked patch from Ulf to make extension working (diff) | |
| download | inkscape-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-x | packaging/macosx/Resources/openDoc | 2 |
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" "$@" |
