From 3ee543c862b9008278d65e48c94544eb4913ffad Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Sat, 12 Jan 2008 15:03:13 +0000 Subject: Fix --virtual parameter handling in java-pkg_getjar. --- eclass/java-utils-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/java-utils-2.eclass') 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}" -- cgit v1.2.3-65-gdbad