aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formulary.rb
diff options
context:
space:
mode:
authorXu Cheng2015-12-09 12:09:55 +0800
committerXu Cheng2015-12-09 16:56:59 +0800
commitfe032e3e9682db3d428ae3b6a2d1d79d86a67f41 (patch)
tree70c692b533a3ff02e32ba96769f2fd44820e3584 /Library/Homebrew/formulary.rb
parent571011ad59f37e2094d00a8ce2ec1a8edaba74e6 (diff)
downloadbrew-fe032e3e9682db3d428ae3b6a2d1d79d86a67f41.tar.bz2
avoid using FORMULA_RENAMES directly
Diffstat (limited to 'Library/Homebrew/formulary.rb')
-rw-r--r--Library/Homebrew/formulary.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb
index 4678f7a0e..984cac9ce 100644
--- a/Library/Homebrew/formulary.rb
+++ b/Library/Homebrew/formulary.rb
@@ -289,7 +289,7 @@ class Formulary
return FormulaLoader.new(name, path)
end
- if newref = FORMULA_RENAMES[ref]
+ if newref = CoreFormulaRepository.instance.formula_renames[ref]
formula_with_that_oldname = core_path(newref)
if formula_with_that_oldname.file?
return FormulaLoader.new(newref, formula_with_that_oldname)