opnsense-ports/java/eclipse/files/eclipse.in
Franco Fichtner 971c80e954 */*: sync with upstream
Taken from: FreeBSD
2022-06-28 17:39:57 +02:00

18 lines
500 B
Bash

#!/bin/sh
#
# FreeBSD-specific startup script for Eclipse Platform
#
# See: http://www.eclipse.org
#
# Create required Webkit communication directories removed by:
# https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/163641/
# The changeset makes use of dbus "abstract" socket feature which is
# only available on Linux.
for D in SWT-GDBusServer SWT-WebExtensionGDBusServer
do
mkdir -p /tmp/${D}
chmod -f 1777 /tmp/${D}
done
JAVA_VERSION="%%JAVA_VERSION%%" exec %%DATADIR%%/eclipse "$@"