summarylogtreecommitdiffstats
path: root/patch-jvm-version-check.patch
blob: 7be1c6859ff1f70544b2c6a2847b27ae923aff29 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- package.orig/IPMIView_2.20.0_build.220309_bundleJRE_Linux_x64/IPMIView20	2022-03-09 02:54:43.000000000 -0500
+++ package.new/IPMIView_2.20.0_build.220309_bundleJRE_Linux_x64/IPMIView20	2022-05-04 09:24:56.847151617 -0400
@@ -872,7 +872,7 @@
 {
 	javaExe=$1
 	javaVersion=` "${javaExe}" -version 2>&1 | $AWK '
-$3 ~ /"[0-9]\.[0-9]\.[0-9][^"]*"$/ {
+$3 ~ /"[0-9][0-9]?\.[0-9]\.[0-9][^"]*"$/ {
 	gsub ("[^0-9._]", "", $3)
 	print $3
 }