summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2008-01-12 15:03:13 +0000
committerVlastimil Babka <caster@gentoo.org>2008-01-12 15:03:13 +0000
commitbfab45b66cc8aefd1dbad016408e3075eafed908 (patch)
tree7a301151a50cdb4e2cb233d10e41cb6126ef3ad5 /eclass/java-utils-2.eclass
parentStable on x86 (diff)
downloadgentoo-2-bfab45b66cc8aefd1dbad016408e3075eafed908.tar.gz
gentoo-2-bfab45b66cc8aefd1dbad016408e3075eafed908.tar.bz2
gentoo-2-bfab45b66cc8aefd1dbad016408e3075eafed908.zip
Fix --virtual parameter handling in java-pkg_getjar.
Diffstat (limited to 'eclass/java-utils-2.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 a7960b4141bc..0b293bb7a0a5 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.100 2007/11/28 02:03:48 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.101 2008/01/12 15:03:13 caster Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
@@ -1082,7 +1082,7 @@ java-pkg_getjar() {
while [[ "${1}" == --* ]]; do
if [[ "${1}" = "--build-only" ]]; then
build_only="build"
- elif [[ "${1}" == --* ]]; then
+ elif [[ "${1}" == "--virtual" ]]; then
virtual="true"
else
die "java-pkg_jar-from called with unknown parameter: ${1}"