aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-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-3-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-3-devel')
-rw-r--r--editors/openoffice-3-devel/files/openoffice-wrapper4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper
index a292a5d507ae..aa417e8e6f5b 100644
--- a/editors/openoffice-3-devel/files/openoffice-wrapper
+++ b/editors/openoffice-3-devel/files/openoffice-wrapper
@@ -7,9 +7,9 @@ program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
case $program in
$0)
- cd $oopath && ./soffice "$@"
+ $oopath/soffice "$@"
;;
*)
- cd $oopath && exec ./$program "$@"
+ $oopath/$program "$@"
;;
esac