jtidy/jtidy.jtidy.script
Petr Šabata 03610aef3b RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/jtidy#82895af8c8621a96b364dfe8f13505250f76014a
2020-10-15 14:25:13 +02:00

27 lines
513 B
Bash

#!/bin/sh
#
# JTidy script
# JPackage Project <http://www.jpackage.org/>
# $Id: jtidy.jtidy.script,v 1.1 2002/08/30 20:27:06 scop Exp $
# 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
# Configuration
MAIN_CLASS=org.w3c.tidy.Tidy
BASE_JARS="jtidy"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS
# Let's start
run "$@"