From a2d8d8b86dd8597ac7432068126509debdb8f450 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Tue, 21 Jan 2003 17:09:39 +0000 Subject: Set $LANG to a useful value if it is not already set. This is a issue many users have problems with. If US-ASCII is set, OpenOffice.Org cannot read any filenames with special chars and Umlauts ! --- editors/openoffice-1.0/files/openoffice-wrapper | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'editors/openoffice-1.0/files') diff --git a/editors/openoffice-1.0/files/openoffice-wrapper b/editors/openoffice-1.0/files/openoffice-wrapper index 28a571a83200..d5707b7ad633 100644 --- a/editors/openoffice-1.0/files/openoffice-wrapper +++ b/editors/openoffice-1.0/files/openoffice-wrapper @@ -1,10 +1,14 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.0/files/Attic/openoffice-wrapper,v 1.2 2002-08-04 00:18:09 mbr Exp $ +# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.0/files/Attic/openoffice-wrapper,v 1.3 2003-01-21 17:09:39 mbr Exp $ oopath=%%PREFIX%%/OpenOffice.org1.0/program/ program=`echo $0 | sed -e 's|.*-||'` +if [ ! $LANG ]; then + export LANG=%%LANG%% +fi + case $program in $0) exec $oopath/soffice "$@" -- cgit v1.2.3