summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2006-09-13 09:05:23 +0000
committerVlastimil Babka <caster@gentoo.org>2006-09-13 09:05:23 +0000
commit4b1b9f4c4c82fe9752dc31ba10715261f83968be (patch)
tree258b972e209894c4e96b409ca2f4e5e4764c613c /eclass/java-utils-2.eclass
parentVersion bump, thanks to lu_zero for noticing, maybe we'll be without a versio... (diff)
downloadgentoo-2-4b1b9f4c4c82fe9752dc31ba10715261f83968be.tar.gz
gentoo-2-4b1b9f4c4c82fe9752dc31ba10715261f83968be.tar.bz2
gentoo-2-4b1b9f4c4c82fe9752dc31ba10715261f83968be.zip
Better detection in get-vm-version(). Fixes bug #147392.
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r--eclass/java-utils-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 873a98b38678..7ff0aea815f9 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -1766,7 +1766,7 @@ java-pkg_get-vm-vendor() {
java-pkg_get-vm-version() {
debug-print-function ${FUNCNAME} $*
- java-pkg_get-current-vm | sed -e "s/.*-\([0-9.]\+\).*/\1/"
+ java-config -g PROVIDES_VERSION
}
# ------------------------------------------------------------------------------