summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-03-27 19:40:38 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-03-27 19:40:38 +0000
commitd5c1a60f09b990aa8aa680a22926a0a2ee962142 (patch)
tree49de27f51bf5ad2915ee6d639627e237e26f03d0 /eclass
parentVersion bump. (diff)
downloadgentoo-2-d5c1a60f09b990aa8aa680a22926a0a2ee962142.tar.gz
gentoo-2-d5c1a60f09b990aa8aa680a22926a0a2ee962142.tar.bz2
gentoo-2-d5c1a60f09b990aa8aa680a22926a0a2ee962142.zip
Move java_prepare call inside the check for if the function has already been run.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 3d5263c8324f..63e257f93db3 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -6,7 +6,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.123 2009/03/27 18:52:27 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.124 2009/03/27 19:40:38 betelgeuse Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
@@ -1817,9 +1817,9 @@ java-utils-2_src_prepare() {
echo "Searching for bundled classes (no output if none found):"
find "${WORKDIR}" -name "*.class"
echo "Search done."
+ java-pkg_func-exists "java_prepare" && java_prepare
fi
touch "${T}/java-utils-2_src_prepare-run"
- java-pkg_func-exists "java_prepare" && java_prepare
}
# ------------------------------------------------------------------------------