Revert "lsyncd: use MACOS_FULL_VERSION"
This reverts commit 0f60f76f26ca9fe26e1c10c72905a878a58e3c96.
This commit is contained in:
		
							parent
							
								
									00ae49f4ac
								
							
						
					
					
						commit
						d0b713c396
					
				@ -813,10 +813,9 @@ class FormulaAuditor
 | 
			
		||||
      problem "Use MacOS.version instead of MACOS_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
 | 
			
		||||
    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