summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-07 12:55:52 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-07 12:55:52 +0000
commite79d9c9ced2c3e0b1108f34d7667613112fd46f8 (patch)
tree90e7863245502085723fa5be593d662e1de4a0da /eclass/java-pkg-2.eclass
parentstable x86/amd64, bug 173623 (diff)
downloadhistorical-e79d9c9ced2c3e0b1108f34d7667613112fd46f8.tar.gz
historical-e79d9c9ced2c3e0b1108f34d7667613112fd46f8.tar.bz2
historical-e79d9c9ced2c3e0b1108f34d7667613112fd46f8.zip
Fixed a bug where the generic src_compile was unsetting ANT_TASKS from the env if EANT_ANT_TASKS wasn't specified.
Diffstat (limited to 'eclass/java-pkg-2.eclass')
-rw-r--r--eclass/java-pkg-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
index 5f7c5a64c4b5..298861b65545 100644
--- a/eclass/java-pkg-2.eclass
+++ b/eclass/java-pkg-2.eclass
@@ -5,7 +5,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.20 2007/01/28 21:42:24 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.21 2007/04/07 12:55:52 betelgeuse Exp $
inherit java-utils-2
@@ -81,7 +81,7 @@ java-pkg-2_src_compile() {
hasq doc ${IUSE} && antflags="${antflags} $(use_doc ${EANT_DOC_TARGET})"
local tasks
[[ ${EANT_ANT_TASKS} ]] && tasks="${ANT_TASKS} ${EANT_ANT_TASKS}"
- ANT_TASKS="${tasks}" \
+ ANT_TASKS="${tasks:-${ANT_TASKS}}" \
eant ${antflags} -f "${EANT_BUILD_XML}" ${EANT_EXTRA_ARGS} "${@}"
else
echo "${FUNCNAME}: ${EANT_BUILD_XML} not found so nothing to do."