diff options
Diffstat (limited to 'editors/openoffice-3-devel/files/openoffice-wrapper')
-rw-r--r-- | editors/openoffice-3-devel/files/openoffice-wrapper | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper index e4056d41bfe2..147391298f1c 100644 --- a/editors/openoffice-3-devel/files/openoffice-wrapper +++ b/editors/openoffice-3-devel/files/openoffice-wrapper @@ -2,9 +2,13 @@ # # $FreeBSD$ -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 "$@" |