diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2003-01-21 17:09:39 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2003-01-21 17:09:39 +0000 |
commit | a2d8d8b86dd8597ac7432068126509debdb8f450 (patch) | |
tree | ee9e27344cfbf9311b4b3dc20f8244cde301ec2a /editors/openoffice-1.0/files | |
parent | Sync this port with the recent Mozilla commits. (diff) |
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 !
Notes
Notes:
svn path=/head/; revision=73733
Diffstat (limited to 'editors/openoffice-1.0/files')
-rw-r--r-- | editors/openoffice-1.0/files/openoffice-wrapper | 6 |
1 files changed, 5 insertions, 1 deletions
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 "$@" |