Fixed build.sh for Java 11.
This commit is contained in:
parent
5c95e5e3ae
commit
a68e01bf19
1 changed files with 3 additions and 3 deletions
6
build.sh
6
build.sh
|
@ -41,7 +41,7 @@ function build_snapshot
|
||||||
|
|
||||||
# Java version check.
|
# Java version check.
|
||||||
javaVersionCheck=`javac -version 2>&1`
|
javaVersionCheck=`javac -version 2>&1`
|
||||||
if [[ "$javaVersionCheck" =~ ^.*\ 1.11 ]]; then
|
if [[ "$javaVersionCheck" =~ ^.*\ 11\. ]]; then
|
||||||
echo "Java 11 version requirement..... OK"
|
echo "Java 11 version requirement..... OK"
|
||||||
let "okCount+=1"
|
let "okCount+=1"
|
||||||
else
|
else
|
||||||
|
@ -83,7 +83,7 @@ function build_local
|
||||||
|
|
||||||
# Java version check.
|
# Java version check.
|
||||||
javaVersionCheck=`javac -version 2>&1`
|
javaVersionCheck=`javac -version 2>&1`
|
||||||
if [[ "$javaVersionCheck" =~ ^.*\ 1.11 ]]; then
|
if [[ "$javaVersionCheck" =~ ^.*\ 11\. ]]; then
|
||||||
echo "Java 11 version requirement..... OK"
|
echo "Java 11 version requirement..... OK"
|
||||||
let "okCount+=1"
|
let "okCount+=1"
|
||||||
else
|
else
|
||||||
|
@ -125,7 +125,7 @@ function build_tagandpush
|
||||||
|
|
||||||
# Java version check.
|
# Java version check.
|
||||||
javaVersionCheck=`javac -version 2>&1`
|
javaVersionCheck=`javac -version 2>&1`
|
||||||
if [[ "$javaVersionCheck" =~ ^.*\ 1.11 ]]; then
|
if [[ "$javaVersionCheck" =~ ^.*\ 11\. ]]; then
|
||||||
echo "Java 11 version requirement..... OK"
|
echo "Java 11 version requirement..... OK"
|
||||||
let "okCount+=1"
|
let "okCount+=1"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue