#!/bin/sh
#
#	$NetBSD: soffice,v 1.1 2016/01/08 23:53:13 ryoon Exp $
#
SOINST=/usr/pkg/opt/libreoffice5.4

# 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}:

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

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