From a9e071b81c0f92bdd4b85c46ccba68287fc74bc9 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sun, 4 Aug 2002 00:18:09 +0000 Subject: A changedir into the OO.org dir was wrong. This broke relative paths like: "openoffice document.sxc". --- editors/openoffice-1.0/files/openoffice-wrapper | 8 ++++---- editors/openoffice.org-1.0/files/openoffice-wrapper | 8 ++++---- editors/openoffice/files/openoffice-wrapper | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/editors/openoffice-1.0/files/openoffice-wrapper b/editors/openoffice-1.0/files/openoffice-wrapper index a07bfe416b2c..28a571a83200 100644 --- a/editors/openoffice-1.0/files/openoffice-wrapper +++ b/editors/openoffice-1.0/files/openoffice-wrapper @@ -1,15 +1,15 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.0/files/Attic/openoffice-wrapper,v 1.1 2002-08-01 12:29:21 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.0/files/Attic/openoffice-wrapper,v 1.2 2002-08-04 00:18:09 mbr Exp $ -cd %%PREFIX%%/OpenOffice.org1.0/program/ +oopath=%%PREFIX%%/OpenOffice.org1.0/program/ program=`echo $0 | sed -e 's|.*-||'` case $program in $0) - exec ./soffice "$@" + exec $oopath/soffice "$@" ;; *) - exec ./$program "$@" + exec $oopath/$program "$@" ;; esac diff --git a/editors/openoffice.org-1.0/files/openoffice-wrapper b/editors/openoffice.org-1.0/files/openoffice-wrapper index 881d40e90c3a..dd71e4dbb064 100644 --- a/editors/openoffice.org-1.0/files/openoffice-wrapper +++ b/editors/openoffice.org-1.0/files/openoffice-wrapper @@ -1,15 +1,15 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.0/files/Attic/openoffice-wrapper,v 1.1 2002-08-01 12:29:21 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.0/files/Attic/openoffice-wrapper,v 1.2 2002-08-04 00:18:09 mbr Exp $ -cd %%PREFIX%%/OpenOffice.org1.0/program/ +oopath=%%PREFIX%%/OpenOffice.org1.0/program/ program=`echo $0 | sed -e 's|.*-||'` case $program in $0) - exec ./soffice "$@" + exec $oopath/soffice "$@" ;; *) - exec ./$program "$@" + exec $oopath/$program "$@" ;; esac diff --git a/editors/openoffice/files/openoffice-wrapper b/editors/openoffice/files/openoffice-wrapper index c3b59d544ee9..83ff16649a22 100644 --- a/editors/openoffice/files/openoffice-wrapper +++ b/editors/openoffice/files/openoffice-wrapper @@ -1,15 +1,15 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice/files/Attic/openoffice-wrapper,v 1.1 2002-08-01 12:29:21 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice/files/Attic/openoffice-wrapper,v 1.2 2002-08-04 00:18:09 mbr Exp $ -cd %%PREFIX%%/OpenOffice.org1.0/program/ +oopath=%%PREFIX%%/OpenOffice.org1.0/program/ program=`echo $0 | sed -e 's|.*-||'` case $program in $0) - exec ./soffice "$@" + exec $oopath/soffice "$@" ;; *) - exec ./$program "$@" + exec $oopath/$program "$@" ;; esac -- cgit v1.2.3