mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
18 lines
404 B
Bash
18 lines
404 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: soffice,v 1.2 2011/10/07 13:28:54 ryoon Exp $
|
|
#
|
|
SOINST=@@PREFIX@@/opt/libreoffice@@OO_BASEVER@@
|
|
|
|
# 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 "$@"
|