aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-03-28 17:00:55 +0800
committermbr <mbr@FreeBSD.org>2003-03-28 17:00:55 +0800
commit05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9 (patch)
tree022b1f61277ac5e940d10adc3f9ea4a9a986e5b7 /editors/openoffice-3-devel
parent38cb07e1018b9644a82f70bb723bc8cc46c21699 (diff)
downloadfreebsd-ports-gnome-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.tar.gz
freebsd-ports-gnome-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.tar.zst
freebsd-ports-gnome-05a33e7bb9da8d4d615c91ce3ed0e7d87cd01cb9.zip
Workarounds for the startup wrappers.
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/files/openoffice-wrapper8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper
index 147391298f1c..d4f1f5c2e90a 100644
--- a/editors/openoffice-3-devel/files/openoffice-wrapper
+++ b/editors/openoffice-3-devel/files/openoffice-wrapper
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac