From 79e75232f17c460363ed113c3dec6da8362a3c95 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Thu, 25 Sep 2003 22:43:58 +0000 Subject: 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. --- editors/openoffice.org-2-RC/files/openoffice-wrapper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editors/openoffice.org-2-RC/files/openoffice-wrapper') diff --git a/editors/openoffice.org-2-RC/files/openoffice-wrapper b/editors/openoffice.org-2-RC/files/openoffice-wrapper index dd2b931d7183..a80bee4c0464 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 -- cgit v1.2.3