1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/editors/openoffice-1.0/files/openoffice-wrapper
Martin Blapp a2d8d8b86d 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 !
2003-01-21 17:09:39 +00:00

20 lines
354 B
Bash

#!/bin/sh
#
# $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 "$@"
;;
*)
exec $oopath/$program "$@"
;;
esac