From: Petteri Räty Date: Sat, 2 Dec 2006 21:36:55 +0000 (+0000) Subject: Moving java-pkg_init_paths_ call above the dodir call. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c79c7b5f2d2995fb484700ed53f6a2ecb0c34565;p=gentoo.git Moving java-pkg_init_paths_ call above the dodir call. --- diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 4b260b528cd9..92306c5ed9e8 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -1617,10 +1617,10 @@ java-pkg_init_paths_() { # ------------------------------------------------------------------------------ # TODO change to do-write, to match everything else java-pkg_do_write_() { + java-pkg_init_paths_ # 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}\"" @@ -1656,7 +1656,6 @@ java-pkg_do_write_() { fi } - # ------------------------------------------------------------------------------ # @internal-function java-pkg_record-jar_ #