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 5cc7a8869..0eefad1f5 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -150,7 +150,7 @@ class Formulary path = @tap.formula_files.detect { |file| file.basename(".rb").to_s == name } unless path - if (possible_alias = @tap.path/"Aliases/#{name}").file? + if (possible_alias = @tap.alias_dir/name).file? path = possible_alias.resolved_path name = path.basename(".rb").to_s else |
