Merge pull request #138 from sbt/wip/java_version2

Fix checkJava function
This commit is contained in:
Dale Wijnand 2017-01-16 08:50:38 +00:00 committed by GitHub
commit 5252119d64
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ checkJava() {
echo Please go to http://www.java.com/getjava/ and download
echo
exit 1
elif [[ ! "$java_version" > "$required_version" ]]; then
elif [[ "$java_version" < "$required_version" ]]; then
echo
echo The java installation you have is not up to date
echo $script_name requires at least version $required_version+, you have