diff options
| author | Mike McQuaid | 2017-03-08 08:51:41 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-03-08 08:51:41 +0000 |
| commit | 4991039809c7319fb91e6c10c3e8accf28a0d362 (patch) | |
| tree | dc855e2331be08920e5f55f12fb12957cc2e842e /Library | |
| parent | 9105acab6bc6a04d01c49a32ec27f8ab16fd40b7 (diff) | |
| download | brew-4991039809c7319fb91e6c10c3e8accf28a0d362.tar.bz2 | |
keg: resolve rack aliases correctly.
Don't use the basename but instead use the Formulary logic for rack
formula resolution.
Fixes #2288.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 9ebfc3bc3..86733860c 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -466,7 +466,7 @@ class Keg end def aliases - Formula[rack.basename.to_s].aliases + Formulary.from_rack(rack).aliases rescue FormulaUnavailableError [] end |
