Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 6dfcfea19c9697ace1dd6bb9aec15ecf > files > 11

batik-1.7-9.fc14.src.rpm

#!/bin/sh
# 
# Batik SVG Pretty Printer script
# JPackage Project <http://www.jpackage.org/>

# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then 
  . /usr/share/java-utils/java-functions
else
  echo "Can't find functions library, aborting"
  exit 1
fi

# Source system prefs
if [ -f /etc/svgpp.conf ] ; then 
  . /etc/svgpp.conf
fi

# Source user prefs
if [ -f $HOME/.svgpprc ] ; then 
  . $HOME/.svgpprc
fi

# Configuration
MAIN_CLASS=org.apache.batik.apps.svgpp.Main
BASE_JARS="batik batik-svgpp"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"