#!/bin/sh
##
##  epub2pdf.sh -- YuiCompressor startup wrapper script
##

cp="@l_prefix@/lib/epub2pdf/epub2pdf.jar"
cp="$cp:@l_prefix@/lib/epub2pdf/batik-css.jar"
cp="$cp:@l_prefix@/lib/epub2pdf/batik-util.jar"
cp="$cp:@l_prefix@/lib/epub2pdf/commons-lang-*.jar"
cp="$cp:@l_prefix@/lib/epub2pdf/iText.jar"
cp="$cp:@l_prefix@/lib/epub2pdf/resolver.jar"
cp="$cp:@l_prefix@/lib/epub2pdf/sac.jar"
cp="$cp:@l_prefix@/lib/epub2pdf/xercesImpl.jar"
@l_prefix@/bin/java \
   -Vsun-jdk \
   -cp "$cp" \
   com.amphisoft.epub2pdf.Converter \
   ${1+"$@"}

