diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2003-09-25 22:43:58 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2003-09-25 22:43:58 +0000 |
commit | 79e75232f17c460363ed113c3dec6da8362a3c95 (patch) | |
tree | f9a5f8d7abf33f19fdc9edcc83715edc374b0c4c /editors/openoffice.org-3-RC | |
parent | Fix build on Sparc64 (hopefully -- I applied the patch by hand). Fixes plist (diff) |
The relative path bug has been fixed. Execute soffice again
with absolute path.
This makes relative paths working again for specified documents
in the argument list.
Notes
Notes:
svn path=/head/; revision=89395
Diffstat (limited to 'editors/openoffice.org-3-RC')
-rw-r--r-- | editors/openoffice.org-3-RC/files/openoffice-wrapper | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice.org-3-RC/files/openoffice-wrapper b/editors/openoffice.org-3-RC/files/openoffice-wrapper index 652a08617812..0750a0ff3671 100644 --- a/editors/openoffice.org-3-RC/files/openoffice-wrapper +++ b/editors/openoffice.org-3-RC/files/openoffice-wrapper @@ -1,15 +1,15 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.11 2003-09-17 04:06:28 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.12 2003-09-25 22:43:58 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org%%FRELEASE_NR%%/program/ program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'` case $program in $0) - cd $oopath && ./soffice "$@" + $oopath/soffice "$@" ;; *) - cd $oopath && exec ./$program "$@" + $oopath/$program "$@" ;; esac |