4 |
|
|
5 |
JAVA_CLASSPATH_DIR="/usr/share/java" |
JAVA_CLASSPATH_DIR="/usr/share/java" |
6 |
|
|
7 |
jar-path-from-classpath() |
mget-jar-path-from-classpath() |
8 |
{ |
{ |
9 |
local jar="$1" |
local jar="$1" |
10 |
local i |
local i |
17 |
done |
done |
18 |
} |
} |
19 |
|
|
20 |
|
# deprecated and will be dropped in near future |
21 |
|
jar-path-from-classpath() |
22 |
|
{ |
23 |
|
echo -e "${COLYELLOW}Warning: jar-path-from-classpath() is depcrecated, please use mget-jar-path-from-classpath() instead${COLDEFAULT}" >&2 |
24 |
|
mget-jar-path-from-classpath $@ |
25 |
|
} |
26 |
|
|
27 |
mclasspathinit() |
mclasspathinit() |
28 |
{ |
{ |
29 |
minstalldir /etc/env.d || die |
minstalldir /etc/env.d || die |