summarylogtreecommitdiffstats
path: root/patch-jvm-version-check.patch
blob: 72f44e01dc865ac5827111858190cb1ae46552b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- package.orig/IPMIView_2.21.1_build.230720_bundleJRE_Linux_x64/IPMIView20
+++ package.new/IPMIView_2.21.1_build.230720_bundleJRE_Linux_x64/IPMIView20
@@ -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
 }