From 3f6da1d833427e72c2fdd098ae5fa662fe5711b2 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Sat, 8 Feb 2020 00:52:26 -0500 Subject: [PATCH] . --- __tests__/verify-java.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/verify-java.sh b/__tests__/verify-java.sh index b27f0d08..720bab56 100755 --- a/__tests__/verify-java.sh +++ b/__tests__/verify-java.sh @@ -6,8 +6,8 @@ if [ -z "$1" ]; then fi java_version="$(java -version)" -echo "Found java version: $node_version" -if [ -z "$(echo $node_version | grep --fixed-strings $1)" ]; then +echo "Found java version: $java_version" +if [ -z "$(echo $java_version | grep --fixed-strings $1)" ]; then echo "Unexpected version" exit 1 fi