From: Petteri Räty Date: Sat, 2 Dec 2006 21:19:27 +0000 (+0000) Subject: Calling java-pkg_init_paths in java-pkg_do_write_ to ensure that he variables are... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=713bd32c023c63ff5609202371244d169b2592b0;p=gentoo.git Calling java-pkg_init_paths in java-pkg_do_write_ to ensure that he variables are correctly setup. --- 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 # ------------------------------------------------------------------------------