summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-12-02 21:19:27 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-12-02 21:19:27 +0000
commit713bd32c023c63ff5609202371244d169b2592b0 (patch)
tree2739399e73e4cd7a168c039506f6c144fc752e3d /eclass
parentAdd ~amd64, bug 109722 (diff)
downloadhistorical-713bd32c023c63ff5609202371244d169b2592b0.tar.gz
historical-713bd32c023c63ff5609202371244d169b2592b0.tar.bz2
historical-713bd32c023c63ff5609202371244d169b2592b0.zip
Calling java-pkg_init_paths in java-pkg_do_write_ to ensure that he variables are correctly setup.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index d683bedba229..4b260b528cd9 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -430,6 +430,7 @@ java-pkg_dohtml() {
debug-print-function ${FUNCNAME} $*
[[ ${#} -lt 1 ]] && die "At least one argument required for ${FUNCNAME}"
+
# TODO-nichoj find out what exactly -f package-list does
dohtml -f package-list "$@"
# this probably shouldn't be here but it provides
@@ -1619,6 +1620,7 @@ java-pkg_do_write_() {
# Create directory for package.env
dodir "${JAVA_PKG_SHAREPATH}"
if [[ -n "${JAVA_PKG_CLASSPATH}" || -n "${JAVA_PKG_LIBRARY}" || -f "${JAVA_PKG_DEPEND}" ]]; then
+ java-pkg_init_paths_
# Create package.env
(
echo "DESCRIPTION=\"${DESCRIPTION}\""
@@ -1922,7 +1924,6 @@ java-pkg_verify-classes() {
fi
}
-
# ------------------------------------------------------------------------------
# @section-end internal
# ------------------------------------------------------------------------------