summaryrefslogtreecommitdiff
path: root/editors/openoffice-2.0-devel
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-09-25 22:43:58 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-09-25 22:43:58 +0000
commit79e75232f17c460363ed113c3dec6da8362a3c95 (patch)
treef9a5f8d7abf33f19fdc9edcc83715edc374b0c4c /editors/openoffice-2.0-devel
parentFix 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.
Diffstat (limited to 'editors/openoffice-2.0-devel')
-rw-r--r--editors/openoffice-2.0-devel/files/openoffice-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice-2.0-devel/files/openoffice-wrapper b/editors/openoffice-2.0-devel/files/openoffice-wrapper
index e64da4189ca7..3141aec8b892 100644
--- a/editors/openoffice-2.0-devel/files/openoffice-wrapper
+++ b/editors/openoffice-2.0-devel/files/openoffice-wrapper
@@ -1,15 +1,15 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.11 2003-09-17 04:06:28 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-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