audit_glibc: Fix the error message
"The glibc version must be 2.35" should have read "The glibc version must be 2.23".
This commit is contained in:
parent
43a34706ed
commit
291eacd482
@ -410,13 +410,10 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def audit_glibc
|
def audit_glibc
|
||||||
return if formula.name != "glibc"
|
|
||||||
return unless @core_tap
|
return unless @core_tap
|
||||||
|
return if formula.name != "glibc" || formula.version.to_s == OS::CI_GLIBC_VERSION
|
||||||
|
|
||||||
version = formula.version.to_s
|
problem "The glibc version must be #{OS::CI_GLIBC_VERSION}, as this is the version used by our CI on Linux. " \
|
||||||
return if version == OS::CI_GLIBC_VERSION
|
|
||||||
|
|
||||||
problem "The glibc version must be #{version}, as this is the version used by our CI on Linux. " \
|
|
||||||
"Glibc is for users who have a system Glibc with a lower version, " \
|
"Glibc is for users who have a system Glibc with a lower version, " \
|
||||||
"which allows them to use our Linux bottles, which were compiled against system Glibc on CI."
|
"which allows them to use our Linux bottles, which were compiled against system Glibc on CI."
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user