diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formulary.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 0eefad1f5..d7b9f020b 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -326,7 +326,7 @@ class Formulary end def self.core_path(name) - Pathname.new("#{HOMEBREW_LIBRARY}/Formula/#{name.downcase}.rb") + CoreFormulaRepository.instance.formula_dir/"#{name.downcase}.rb" end def self.tap_paths(name, taps = Dir["#{HOMEBREW_LIBRARY}/Taps/*/*/"]) |
