Skip to content

Commit

Permalink
[O2-4323] Fix RHEL9 support in alibuild CLI (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Nov 3, 2023
1 parent 8872c33 commit 686a810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alibuild_helpers/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 686a810

Please sign in to comment.