Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 9e53d13924639e08534ad9c3c06f3808 > files > 2

javahelp2-2.0.05-17.mga5.src.rpm

#!/bin/sh
# 
# jhsearch script
# JPackage project (http://jpackage.sourceforge.net)
# $Id: javahelp2-jhsearch.sh,v 1.2 2009/04/27 11:02:18 mjakubicek Exp $

# Source functions library
. /usr/share/java-utils/java-functions

# Allow system prefs
if [ -f /etc/jhsearch.conf ] ; then 
  . /etc/jhsearch.conf
fi

# Allow user-defined prefs
if [ -f $HOME/.jhsearchrc ] ; then 
  . $HOME/.jhsearch
fi

# Configuration
MAIN_CLASS=com.sun.java.help.search.QueryEngine
BASE_JARS=javahelp2

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

# Let's start
run "$@"