From 4dfa2806b9ee1b4272cf577d0aebb23a7b8d159f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 15 May 2012 17:44:15 -0500 Subject: audit: fix broken deps check Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 346226ca9..53f965243 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -318,7 +318,7 @@ def audit_formula_instance f problems << " * Can't find dependency \"#{d}\"." end - case d + case d.name when "git", "python", "ruby", "emacs", "mysql", "postgresql", "mercurial" problems << <<-EOS * Don't use #{d} as a dependency. We allow non-Homebrew -- cgit v1.2.3