diff options
author | Vlastimil Babka <caster@gentoo.org> | 2006-12-07 02:14:46 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2006-12-07 02:14:46 +0000 |
commit | 245cacd4a9324b2beb3a31063b5409e7b718a526 (patch) | |
tree | 77ba258db3721883af511752028ee41249a5032d /eclass | |
parent | Add ~x86-fbsd keyword as per bug #156873. Thanks to Mark Kowarsky (mark_alec)... (diff) | |
download | gentoo-2-245cacd4a9324b2beb3a31063b5409e7b718a526.tar.gz gentoo-2-245cacd4a9324b2beb3a31063b5409e7b718a526.tar.bz2 gentoo-2-245cacd4a9324b2beb3a31063b5409e7b718a526.zip |
Call die if unable to determine VM from deps.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 2bef9678cecd..0d8615f68a45 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.31 2006/12/03 18:41:25 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.32 2006/12/07 02:14:46 caster Exp $ # ----------------------------------------------------------------------------- @@ -1844,9 +1844,10 @@ java-pkg_switch-vm() { GENTOO_VM="$(depend-java-query --get-vm "${JAVA_PKG_NV_DEPEND:-${DEPEND}}")" fi if [[ -z "${GENTOO_VM}" || "${GENTOO_VM}" == "None" ]]; then - eerror "Unable to determine VM for building from dependencies." + eerror "Unable to determine VM for building from dependencies:" echo "NV_DEPEND: ${JAVA_PKG_NV_DEPEND:-${DEPEND}}" echo "VNEED: ${JAVA_PKG_VNEED}" + die "Failed to determine VM for building." else export GENTOO_VM fi |