summaryrefslogtreecommitdiff
path: root/eclass
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
commit3ee543c862b9008278d65e48c94544eb4913ffad (patch)
tree3a64e8b90e854785cd265e20d7d80bff5c306593 /eclass
parentStable on x86 (diff)
downloadhistorical-3ee543c862b9008278d65e48c94544eb4913ffad.tar.gz
historical-3ee543c862b9008278d65e48c94544eb4913ffad.tar.bz2
historical-3ee543c862b9008278d65e48c94544eb4913ffad.zip
Fix --virtual parameter handling in java-pkg_getjar.
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 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}"