summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-RC/files/openoffice-wrapper
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.org-2-RC/files/openoffice-wrapper
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 '')
-rw-r--r--editors/openoffice.org-2-RC/files/openoffice-wrapper6
1 files changed, 3 insertions, 3 deletions
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