Calling java-pkg_init_paths in java-pkg_do_write_ to ensure that he variables are...
authorPetteri Räty <betelgeuse@gentoo.org>
Sat, 2 Dec 2006 21:19:27 +0000 (21:19 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Sat, 2 Dec 2006 21:19:27 +0000 (21:19 +0000)
eclass/java-utils-2.eclass

index d683bedba229dd5a6a561110e689ec87b327e3a2..4b260b528cd9da854129e30afc9a31bfcbfc278a 100644 (file)
@@ -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
 # ------------------------------------------------------------------------------