mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-24 21:01:20 +00:00
a2d8d8b86d
many users have problems with. If US-ASCII is set, OpenOffice.Org cannot read any filenames with special chars and Umlauts !
20 lines
354 B
Bash
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
|