mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
13 lines
362 B
Bash
13 lines
362 B
Bash
#!/bin/sh
|
|
|
|
IAM=`basename "$0"`
|
|
|
|
case "${IAM}" in
|
|
xincluder-sax) MAIN_CLASS=SAXXIncluder ;;
|
|
xincluder-dom) MAIN_CLASS=DOMXIncluder ;;
|
|
xincluder-jdom) MAIN_CLASS=JDOMXIncluder ;;
|
|
xincluder) MAIN_CLASS=SAXXIncluder ;;
|
|
*) echo "ERROR!" ; false ;;
|
|
esac
|
|
|
|
"%%LOCALBASE%%/bin/java" -cp "`"%%LOCALBASE%%/bin/classpath"`" "com.elharo.xml.xinclude.${MAIN_CLASS}" "$@"
|