aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2/files/openoffice-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-2/files/openoffice-wrapper')
-rw-r--r--editors/openoffice.org-2/files/openoffice-wrapper8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/openoffice.org-2/files/openoffice-wrapper b/editors/openoffice.org-2/files/openoffice-wrapper
index bc37b517380a..a2249fa84c5d 100644
--- a/editors/openoffice.org-2/files/openoffice-wrapper
+++ b/editors/openoffice.org-2/files/openoffice-wrapper
@@ -1,10 +1,14 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.2 2002-10-21 16:46:37 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
-oopath=%%PREFIX%%/OpenOffice.org-643/program/
+oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
+if [ ! $LANG ]; then
+ export LANG=%%LANG%%
+fi
+
case $program in
$0)
exec $oopath/soffice "$@"