diff options
| author | Jack Nagel | 2014-02-28 16:51:15 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-02-28 16:51:15 -0600 |
| commit | 26785dbe5ddaee3f71d64d4a9f8b92274ec3a366 (patch) | |
| tree | 9a64c811717d00b5b3fdf05629f4b6b96c355ee2 /Library/Homebrew/cmd/install.rb | |
| parent | 2d50501c4e97849f5fa265a0bbe4e1846904854e (diff) | |
| download | brew-26785dbe5ddaee3f71d64d4a9f8b92274ec3a366.tar.bz2 | |
Use Formula.path
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 4e1705c74..cd3c3c8d2 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -25,7 +25,7 @@ module Homebrew extend self ARGV.named.each do |name| # if a formula has been tapped ignore the blacklisting - if not File.file? HOMEBREW_REPOSITORY/"Library/Formula/#{name}.rb" + unless Formula.path(name).file? msg = blacklisted? name raise "No available formula for #{name}\n#{msg}" if msg end |
