Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 111963 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 111963