mirror of https://github.com/sbt/sbt.git
Merge pull request #138 from sbt/wip/java_version2
Fix checkJava function
This commit is contained in:
commit
5252119d64
|
|
@ -161,7 +161,7 @@ checkJava() {
|
||||||
echo Please go to http://www.java.com/getjava/ and download
|
echo Please go to http://www.java.com/getjava/ and download
|
||||||
echo
|
echo
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ ! "$java_version" > "$required_version" ]]; then
|
elif [[ "$java_version" < "$required_version" ]]; then
|
||||||
echo
|
echo
|
||||||
echo The java installation you have is not up to date
|
echo The java installation you have is not up to date
|
||||||
echo $script_name requires at least version $required_version+, you have
|
echo $script_name requires at least version $required_version+, you have
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue