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
commit4c078706126698890c98e8fc669945e6944b813e (patch)
tree5e580dcf3e1e33aa68fe7dc74de9638455ec2d6a /eclass/java-utils.eclass
parentAdded app-editors/emacs:aqua (diff)
downloadgentoo-2-4c078706126698890c98e8fc669945e6944b813e.tar.gz
gentoo-2-4c078706126698890c98e8fc669945e6944b813e.tar.bz2
gentoo-2-4c078706126698890c98e8fc669945e6944b813e.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}
}