forked from pool/javahelp2
Hallo, on openSUSE 12.1 the jhindexer, jhsearch shell scripts do not work, because the jar file name is javahelp2 instead of javahelp. So they fail to find the jar file. (forwarded request 140120 from fschuett) OBS-URL: https://build.opensuse.org/request/show/140651 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javahelp2?expand=0&rev=10
32 lines
541 B
Bash
32 lines
541 B
Bash
#!/bin/sh
|
|
#
|
|
# jhindexer script
|
|
# JPackage project (http://jpackage.sourceforge.net)
|
|
# $Id$
|
|
|
|
# Source functions library
|
|
. /usr/share/java-utils/java-functions
|
|
|
|
# Allow system prefs
|
|
if [ -f /etc/jhindexer.conf ] ; then
|
|
. /etc/jhindexer.conf
|
|
fi
|
|
|
|
# Allow user-defined prefs
|
|
if [ -f $HOME/.jhindexerrc ] ; then
|
|
. $HOME/.jhindexerrc
|
|
fi
|
|
|
|
# Configuration
|
|
MAIN_CLASS=com.sun.java.help.search.Indexer
|
|
BASE_JARS=javahelp2
|
|
|
|
# Set parameters
|
|
set_jvm
|
|
set_classpath $BASE_JARS
|
|
set_flags $BASE_FLAGS
|
|
set_options $BASE_OPTIONS
|
|
|
|
# Let's start
|
|
run "$@"
|