From 51ebaedbc2f1162128ae5372145ffe2a0237529a Mon Sep 17 00:00:00 2001 From: dak180 Date: Mon, 26 Apr 2021 20:06:21 -0400 Subject: [PATCH] Update java version message. --- srcinstaller/Install Fink.tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcinstaller/Install Fink.tool b/srcinstaller/Install Fink.tool index 3d83956..827b6c4 100755 --- a/srcinstaller/Install Fink.tool +++ b/srcinstaller/Install Fink.tool @@ -208,7 +208,7 @@ if ! /usr/libexec/java_home -Fv "${Jvers}+"; then sudo chown -R root:wheel "/Library/Java/JavaVirtualMachines/${JavaOutDir}" sudo rm "/Library/Java/JavaVirtualMachines/${JavaOutDir}/.MD5SumLoc" fi -echo "Found version $(java -version > /dev/null 2>&1 | grep 'version' | sed -e 's:java version ::' -e 's:"::g')." >&2 +echo "Found version $(java -version 2>&1 | grep 'version' | sed -e 's:java version ::' -e 's:openjdk version ::')." >&2 # Check for Command Line Tools clear