summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-11-06 15:53:30 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-11-06 15:53:30 +0000
commitc653c27d10ce65bf4ceeed690044b025b78e59ab (patch)
treea8833b000e609e4f3f83a1332b69ea5bfa433c7e /eclass/java-utils.eclass
parentAdded app-editors/emacs:aqua (diff)
downloadhistorical-c653c27d10ce65bf4ceeed690044b025b78e59ab.tar.gz
historical-c653c27d10ce65bf4ceeed690044b025b78e59ab.tar.bz2
historical-c653c27d10ce65bf4ceeed690044b025b78e59ab.zip
fix java-utils_get-vm-version with _rc* stuff
Diffstat (limited to 'eclass/java-utils.eclass')
-rw-r--r--eclass/java-utils.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/java-utils.eclass b/eclass/java-utils.eclass
index d0797b3828a5..44aa2741bf88 100644
--- a/eclass/java-utils.eclass
+++ b/eclass/java-utils.eclass
@@ -57,7 +57,7 @@ java-utils_get-vm-vendor() {
}
java-utils_get-vm-version() {
- local version=$(java-config -f | sed -e "s/.*-\([0-9].*\)/\1/")
+ local version=$(java-config -f | sed -e "s/.*-\([0-9.]\+\).*/\1/")
echo ${version}
}