diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 81b546388..4dcd2a7c2 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -417,7 +417,7 @@ class Formula # test if the name is a formula alias possible_alias = Pathname.new("#{HOMEBREW_LIBRARY}/Aliases/#{name}") if possible_alias.file? - return possible_alias.realpath.basename('.rb').to_s + return possible_alias.resolved_path.basename(".rb").to_s end # test if the name is a cached downloaded formula |
