summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-04-20 16:17:49 +0000
committerVlastimil Babka <caster@gentoo.org>2007-04-20 16:17:49 +0000
commit9f4a2ad0afc24b785078c739dcde6cc3f7f007b7 (patch)
tree350b96e21ba46c18b463a1316c626e5d3f625187 /eclass
parentUse the full deptree with EANT_GENTOO_CLASSPATH when in src_test. (diff)
downloadgentoo-2-9f4a2ad0afc24b785078c739dcde6cc3f7f007b7.tar.gz
gentoo-2-9f4a2ad0afc24b785078c739dcde6cc3f7f007b7.tar.bz2
gentoo-2-9f4a2ad0afc24b785078c739dcde6cc3f7f007b7.zip
Local variable declaration made paranoidly safe.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index c31a64182bb4..02f9da4bac80 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.75 2007/04/20 16:13:46 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.76 2007/04/20 16:17:49 caster Exp $
# -----------------------------------------------------------------------------
@@ -1713,11 +1713,12 @@ eant() {
[[ -n ${PORTAGE_QUIET} ]] && antflags="${antflags} -q"
local gcp="${EANT_GENTOO_CLASSPATH}"
+ local getjarsarg=""
if [[ ${EBUILD_PHASE} = "test" ]]; then
antflags="${antflags} -DJunit.present=true"
[[ ${gcp} && ${ANT_TASKS} = *ant-junit* ]] && gcp="${gcp} junit"
- local getjarsarg="--with-dependencies"
+ getjarsarg="--with-dependencies"
fi
local cp