diff options
| author | Jack Nagel | 2014-03-30 15:55:03 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-30 15:55:37 -0500 |
| commit | d063e4d4b783ac15b8b13fd356c33a76f2c79179 (patch) | |
| tree | 4ec57c668ec95faabed099264b0deb14ecfaaeec /Library | |
| parent | 5cf8728d7bcf98cc1ac58745f2cc752bde6b37bc (diff) | |
| download | homebrew-d063e4d4b783ac15b8b13fd356c33a76f2c79179.tar.bz2 | |
Aliases never point at symlinks, so just use resolved_path
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 |
