Skip to content

Commit

Permalink
Merge branch 'master' into fix/labels-in-toolchain-roots
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthab authored Mar 13, 2024
2 parents f990dec + 0f93634 commit f5036c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/internal/common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _linux_dist(rctx):

distname = info["ID"].strip('\"')

if distname not in _known_distros:
if distname not in _known_distros and "ID_LIKE" in info:
for distro in info["ID_LIKE"].strip('\"').split(" "):
if distro in _known_distros:
distname = distro
Expand Down

0 comments on commit f5036c4

Please sign in to comment.