summaryrefslogtreecommitdiff
path: root/lang/linux-j/files/jw.sh.in
blob: b799b75abaf71420a8081ac4fd5b82da53e070e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# $FreeBSD$
JPATHj%%PORTVERSION%%=%%PREFIX%%/lib/j
export JPATHj%%PORTVERSION%%
if [ ! -d ${HOME}/J ]
then
	cp -r ${JPATHj%%PORTVERSION%%}/user ${HOME}/J
fi
JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar %%PREFIX%%/lib/j/j.jar "$@"