aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-09-26 06:43:58 +0800
committermbr <mbr@FreeBSD.org>2003-09-26 06:43:58 +0800
commit791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b (patch)
treed5bd5882e4194b74babb888b3c491a3171d480a4 /editors/openoffice-1.1-devel
parent9a2044262d86f1b6d1b14041b5d874bc60a7690c (diff)
downloadfreebsd-ports-gnome-791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b.tar.gz
freebsd-ports-gnome-791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b.tar.zst
freebsd-ports-gnome-791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b.zip
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-1.1-devel')
-rw-r--r--editors/openoffice-1.1-devel/files/openoffice-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice-1.1-devel/files/openoffice-wrapper b/editors/openoffice-1.1-devel/files/openoffice-wrapper
index a2c1d30b528e..094ed8500710 100644
--- a/editors/openoffice-1.1-devel/files/openoffice-wrapper
+++ b/editors/openoffice-1.1-devel/files/openoffice-wrapper
@@ -1,15 +1,15 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.11 2003-09-17 04:06:28 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/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