aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-05-15 17:44:15 -0500
committerJack Nagel2012-05-15 17:45:26 -0500
commit4dfa2806b9ee1b4272cf577d0aebb23a7b8d159f (patch)
treef82b6279dd71bfa42515e821af44d8486e12073d /Library
parent4a48a5f7a39a97c3290313a9dbd3043bbf1b7f83 (diff)
downloadbrew-4dfa2806b9ee1b4272cf577d0aebb23a7b8d159f.tar.bz2
audit: fix broken deps check
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
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