Merge pull request #1347 from mmichal10/fix-rhel-workaround

configure: fix rhel 8.5 workaround check
This commit is contained in:
Robert Baldyga 2022-09-12 22:05:51 +02:00 committed by GitHub
commit fd9af7f115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,9 +30,9 @@ check () {
#it's RHEL, check versions to see if the workaround is needed
IFS=. read -a arr <<< $RHEL_RELEASE
RHEL_MAJOR=${arr[0]}
RHEL_MINOR=${arr[1]}
RHEL_SUB=${arr[2]}
RHEL_MAJOR="${arr[0]:=0}"
RHEL_MINOR="${arr[1]:=0}"
RHEL_SUB="${arr[2]:=0}"
#check kernel and rhel version (major/minor/sub)
if [ "$LINUX_MAJOR" -eq "$QUEUE_PUT_WA_LINUX_MAJOR_SINCE" ] &&