88ccac22d2
- Set GROOVY_HOME only when not already defined - Set JAVA_HOME when not already defined, using feature from javavmwrapper 2.2 Reported by: portscout [1]
5 lines
169 B
Sed
5 lines
169 B
Sed
# $FreeBSD$
|
|
14i\
|
|
: ${GROOVY_HOME="%%DATADIR%%"}
|
|
14i\
|
|
[ -z "${JAVA_HOME}" ] && JAVA_HOME="`env JAVAVM_DRYRUN=yes %%LOCALBASE%%/bin/java | grep '^JAVA_HOME' | cut -c11-`"
|