View | Details | Raw Unified
Collapse All | Expand All

(-) hsqldb.orig (+15 lines)
 Lines 16-21    Link Here 
# Thanks to Meikel Bisping for his contributions.  -- Blaine
# Thanks to Meikel Bisping for his contributions.  -- Blaine
# Gentoo specific - make sure that 'java' executable is present in PATH,
# so the following 'which java' wouldn't fail. (resolves Bug #103024)
if [ -z "$(which java 2>/dev/null)" ]; then
    NOWPATH=${PATH}
    for E in $(find /etc/env.d -type f -name *java); do
        source ${E}
	if [ "${NOWPATH}" != "${PATH}" ]; then
	    PATH=${NOWPATH}:${PATH}
	fi
    done
    unset E
    unset NOWPATH
    export PATH
fi
JAVA_EXECUTABLE=$(which java 2>/dev/null)
JAVA_EXECUTABLE=$(which java 2>/dev/null)
# Unless you copied a hsqldb.jar file from another system, this typically
# Unless you copied a hsqldb.jar file from another system, this typically