mirror of https://github.com/apache/cassandra
Use -lt comparator for JVM patch version
Patch by etudenhoefner; reviewed by mshuler for CASSANDRA-11661
This commit is contained in:
parent
86c5a00c23
commit
5202147d9f
|
|
@ -99,7 +99,7 @@ if [ "$JVM_VERSION" \< "1.7" ] ; then
|
|||
exit 1;
|
||||
fi
|
||||
|
||||
if [ "$JVM_VERSION" \< "1.8" ] && [ "$JVM_PATCH_VERSION" \< "25" ] ; then
|
||||
if [ "$JVM_VERSION" \< "1.8" ] && [ "$JVM_PATCH_VERSION" -lt 25 ] ; then
|
||||
echo "Cassandra 2.0 and later require Java 7u25 or later."
|
||||
exit 1;
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue