diff options
author | mbr <mbr@FreeBSD.org> | 2003-09-25 22:43:58 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-09-25 22:43:58 +0000 |
commit | 791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b (patch) | |
tree | d5bd5882e4194b74babb888b3c491a3171d480a4 /editors/openoffice.org-2-RC | |
parent | 9a2044262d86f1b6d1b14041b5d874bc60a7690c (diff) | |
download | FreeBSD-ports-791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b.zip FreeBSD-ports-791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b.tar.gz |
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.
Diffstat (limited to 'editors/openoffice.org-2-RC')
-rw-r--r-- | editors/openoffice.org-2-RC/files/openoffice-wrapper | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice.org-2-RC/files/openoffice-wrapper b/editors/openoffice.org-2-RC/files/openoffice-wrapper index dd2b931..a80bee4 100644 --- a/editors/openoffice.org-2-RC/files/openoffice-wrapper +++ b/editors/openoffice.org-2-RC/files/openoffice-wrapper @@ -1,15 +1,15 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.11 2003-09-17 04:06:28 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-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 |