ports/java/eclipse/files/eclipse.in
Jonathan Chen e1b29db6eb
java/eclipse: Update to 4.24
PR:		264864
2022-06-24 16:36:11 +08: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 "$@"