freebsd-ports/databases/dbXML/files/patch-install-create-db
Greg Lewis bf72e81a1f . Update to 2.0.
. Modernise the port.

PR:		157634
Approved by:	Richard Stockley <rws@procopia.com> (MAINTAINER)
2011-06-07 05:39:08 +00:00

23 lines
757 B
Text

$FreeBSD$
--- install/create-db.orig 2011-06-03 19:41:59.000000000 -0700
+++ install/create-db 2011-06-03 19:43:04.000000000 -0700
@@ -1,8 +1,6 @@
#!/bin/sh
-if test -z "$DBXML_HOME"; then
- DBXML_HOME=`dirname $0`
- export DBXML_HOME
-fi
+
+DBXML_HOME=%%DBXML_HOME%%
echo "dbXML Server Bootstrap"
echo "======================"
@@ -53,6 +51,6 @@
echo $$ > $DBXML_HOME/config/dbxml.pid
-java -Xbootclasspath/p:"$BOOTPATH" -classpath "$CLASSPATH" -Xms64m -Xmx384m -Ddbxml.home="$DBXML_HOME" $VMPROPS com.dbxml.db.server.ServerBootstrap $*
+%%LOCALBASE%%/bin/java -Xbootclasspath/p:"$BOOTPATH" -classpath "$CLASSPATH" -Xms64m -Xmx384m -Ddbxml.home="$DBXML_HOME" $VMPROPS com.dbxml.db.server.ServerBootstrap $*
rm $DBXML_HOME/config/dbxml.pid