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
commitf83085cc186215a79677f4cac68d483dc469e3f0 (patch)
treed8119a992442efe2f3a63466e36a3be655b564f6 /eclass/java-utils-2.eclass
parentVersion bump, thanks to lu_zero for noticing, maybe we'll be without a versio... (diff)
downloadhistorical-f83085cc186215a79677f4cac68d483dc469e3f0.tar.gz
historical-f83085cc186215a79677f4cac68d483dc469e3f0.tar.bz2
historical-f83085cc186215a79677f4cac68d483dc469e3f0.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
}
# ------------------------------------------------------------------------------