#!/bin/sh # # $FreeBSD: ports/textproc/saxon-devel/files/saxon.sh.in,v 1.2 2006/03/22 10:46:17 hq Exp $ IAM="`basename "$0"`" if [ "${IAM}" = "saxon-xquery" ] then LAUNCHER_CLASS="net.sf.saxon.Query" else LAUNCHER_CLASS="net.sf.saxon.Transform" fi SAXON_CLASSPATH="" for jarfile in %%SAXON_JARS%% do SAXON_CLASSPATH="${SAXON_CLASSPATH}:${jarfile}" done exec /usr/bin/java -classpath "${SAXON_CLASSPATH}" "${LAUNCHER_CLASS}" "$@"