Revert "lsyncd: use MACOS_FULL_VERSION"

This reverts commit 0f60f76f26ca9fe26e1c10c72905a878a58e3c96.
This commit is contained in:
Xu Cheng 2016-04-03 23:19:38 +08:00
parent 00ae49f4ac
commit d0b713c396

View File

@ -813,10 +813,9 @@ class FormulaAuditor
problem "Use MacOS.version instead of MACOS_VERSION" problem "Use MacOS.version instead of MACOS_VERSION"
end end
# TODO: comment out this after core code and formulae separation. if line =~ /MACOS_FULL_VERSION/
# if line =~ /MACOS_FULL_VERSION/ problem "Use MacOS.full_version instead of MACOS_FULL_VERSION"
# problem "Use MacOS.full_version instead of MACOS_FULL_VERSION" end
# end
cats = %w[leopard snow_leopard lion mountain_lion].join("|") cats = %w[leopard snow_leopard lion mountain_lion].join("|")
if line =~ /MacOS\.(?:#{cats})\?/ if line =~ /MacOS\.(?:#{cats})\?/