diff --git a/alibuild_helpers/utilities.py b/alibuild_helpers/utilities.py index cd694dfa..21d638bb 100644 --- a/alibuild_helpers/utilities.py +++ b/alibuild_helpers/utilities.py @@ -150,7 +150,7 @@ def doDetectArch(hasOsRelease, osReleaseLines, platformTuple, platformSystem, pl distribution = distribution.lower() # If platform.dist does not return something sensible, # let's try with /etc/os-release - if distribution not in ["ubuntu", "redhat", "centos", "almalinux", "rockylinux"] and hasOsRelease: + if distribution not in ["ubuntu", "red hat enterprise linux", "redhat", "centos", "almalinux", "rockylinux"] and hasOsRelease: for x in osReleaseLines: key, is_prop, val = x.partition("=") if not is_prop: