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