summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1
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-1.1
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.
Notes
Notes: svn path=/head/; revision=89395
Diffstat (limited to 'editors/openoffice-1.1')
-rw-r--r--editors/openoffice-1.1/files/openoffice-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice-1.1/files/openoffice-wrapper b/editors/openoffice-1.1/files/openoffice-wrapper
index 1561f466f368..5db5d68a71e1 100644
--- a/editors/openoffice-1.1/files/openoffice-wrapper
+++ b/editors/openoffice-1.1/files/openoffice-wrapper
@@ -1,15 +1,15 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.11 2003-09-17 04:06:28 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/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