1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/grails/files/edit-startGrails.sed.in
Sahil Tandon 2a0251e8fc - Update to 1.2.2
PR:             ports/145578
Submitted by:   Jani Kaarela <jani.kaarela@gmail.com>
Approved by:    Mitchell Smith (maintainer), wxs@ (mentor)
2010-04-22 01:17:14 +00:00

8 lines
203 B
Sed

# $FreeBSD$
14i\
: ${GRAILS_HOME="%%DATADIR%%"}
14i\
[ -z "${JAVA_HOME}" ] && JAVA_HOME="`env JAVAVM_DRYRUN=yes %%LOCALBASE%%/bin/java | grep '^JAVA_HOME' | cut -c11-`"
231c\
\ if [ -n "$GRAILS_OPTS" ]