bf72e81a1f
. Modernise the port. PR: 157634 Approved by: Richard Stockley <rws@procopia.com> (MAINTAINER)
21 lines
525 B
Text
21 lines
525 B
Text
$FreeBSD$
|
|
|
|
--- bin/dbxml.orig 2011-06-01 22:00:39.000000000 -0700
|
|
+++ bin/dbxml 2011-06-01 22:05:21.000000000 -0700
|
|
@@ -1,9 +1,6 @@
|
|
#!/bin/sh
|
|
|
|
-if test -z "$DBXML_HOME"; then
|
|
- echo "\$DBXML_HOME Is Not Set"
|
|
- exit
|
|
-fi
|
|
+DBXML_HOME=%%DBXML_HOME%%
|
|
|
|
CMD_NAME=`basename $0`
|
|
|
|
@@ -47,4 +44,4 @@
|
|
fi
|
|
fi
|
|
|
|
-java -classpath "$CLASSPATH" -Xms16m -Xmx128m -Ddbxml.home="$DBXML_HOME" $VMPROPS $CLASS_NAME $*
|
|
+%%LOCALBASE%%/bin/java -classpath "$CLASSPATH" -Xms16m -Xmx128m -Ddbxml.home="$DBXML_HOME" $VMPROPS $CLASS_NAME $*
|