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 |
if [ -z "$(which java 2>/dev/null)" ]; then |
21 |
NOWPATH=${PATH} |
22 |
for e in $(find /etc/env.d -type f -name *java); do |
23 |
source ${e} |
24 |
if [ "${NOWPATH}" != "${PATH}" ]; then |
25 |
PATH=${NOWPATH}:${PATH} |
26 |
fi |
27 |
done |
28 |
export PATH |
29 |
fi |
30 |
|
19 |
JAVA_EXECUTABLE=$(which java 2>/dev/null) |
31 |
JAVA_EXECUTABLE=$(which java 2>/dev/null) |
20 |
|
32 |
|
21 |
# Unless you copied a hsqldb.jar file from another system, this typically |
33 |
# Unless you copied a hsqldb.jar file from another system, this typically |