summarylogtreecommitdiffstats
path: root/patch-jvm-version-check.patch
blob: 0c965be50c1c52b3bc13b510cb9686a9590798de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --color --unified --recursive --text package.orig/IPMIView_2.18.0_build.201007_bundleJRE_Linux_x64/IPMIView20 package.new/IPMIView_2.18.0_build.201007_bundleJRE_Linux_x64/IPMIView20
--- package.orig/IPMIView_2.18.0_build.201007_bundleJRE_Linux_x64/IPMIView20	2020-11-27 18:19:21.353422941 -0600
+++ package.new/IPMIView_2.18.0_build.201007_bundleJRE_Linux_x64/IPMIView20	2020-11-27 18:20:15.453482649 -0600
@@ -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
 }