diff options
| author | Jack Nagel | 2013-08-10 19:56:28 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-10 19:56:29 -0500 |
| commit | 3494186615f6a93bb758b5e96bc18ac3974511eb (patch) | |
| tree | c781a274d2724aabff028a340e96fed3b633e424 /Library | |
| parent | 408e48dc4e2866d82222dc59da8647c06eeb442d (diff) | |
| download | homebrew-3494186615f6a93bb758b5e96bc18ac3974511eb.tar.bz2 | |
Check that the cellar exists in Formula.installed
Fixes #21741.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index e44a4cfb0..bb1d91687 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -355,6 +355,8 @@ class Formula end def self.installed + return [] unless HOMEBREW_CELLAR.directory? + HOMEBREW_CELLAR.children.map do |rack| begin factory(rack.basename.to_s) |
