summaryrefslogtreecommitdiff
path: root/misc/libreoffice3-bin/files/soffice
blob: 984d7a990ca9138813189954cfc9082e5f1a3a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
#	$NetBSD: soffice,v 1.1.1.1 2011/06/12 09:05:30 ryoon Exp $
#
SOINST=@@PREFIX@@/opt/libreoffice

# make sure we can find `whoami` on solaris
PATH=${PATH}:/usr/ucb

# add the chosen java directory to $PATH to allow OOo to
# automatically find it
PATH=${PATH}:@@JAVA_HOME@@

# default data seg size is too small for java
ulimit -d `ulimit -H -d`

exec ${SOINST}/program/soffice "$@"