aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-1.1
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.org-1.1
parent9a2044262d86f1b6d1b14041b5d874bc60a7690c (diff)
downloadfreebsd-ports-graphics-791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b.tar.gz
freebsd-ports-graphics-791cb1d813ebfaaaff79ddf3fb3d2abc46eb205b.tar.zst
freebsd-ports-graphics-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.org-1.1')
-rw-r--r--editors/openoffice.org-1.1/files/openoffice-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice.org-1.1/files/openoffice-wrapper b/editors/openoffice.org-1.1/files/openoffice-wrapper
index 0d4b605cedc..6cf59663846 100644
--- a/editors/openoffice.org-1.1/files/openoffice-wrapper
+++ b/editors/openoffice.org-1.1/files/openoffice-wrapper
@@ -1,15 +1,15 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.11 2003-09-17 04:06:28 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-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