lsyncd: use MACOS_FULL_VERSION
This commit partial reverts beed39e46fa021dd1c133c2c8eaaa81b524e68c7. For users whose local brew is at around 2015-06-02 to 2015-06-11, running `brew update` will emit following error: Error: undefined method 'full_version' for OS::Mac:Module This is caused by the same bug described in Homebrew/homebrew#42553. Let's use `MACOS_FULL_VERSION` for now to restore `brew update` compatibility for these users. TODO: revert this commit after core code and formulae separation.
This commit is contained in:
parent
e00216e4e5
commit
0f60f76f26
@ -790,9 +790,10 @@ class FormulaAuditor
|
||||
problem "Use MacOS.version instead of MACOS_VERSION"
|
||||
end
|
||||
|
||||
if line =~ /MACOS_FULL_VERSION/
|
||||
problem "Use MacOS.full_version instead of MACOS_FULL_VERSION"
|
||||
end
|
||||
# TODO: comment out this after core code and formulae separation.
|
||||
# if line =~ /MACOS_FULL_VERSION/
|
||||
# problem "Use MacOS.full_version instead of MACOS_FULL_VERSION"
|
||||
# end
|
||||
|
||||
cats = %w[leopard snow_leopard lion mountain_lion].join("|")
|
||||
if line =~ /MacOS\.(?:#{cats})\?/
|
||||
|
Loading…
x
Reference in New Issue
Block a user