diff options
| author | Xu Cheng | 2015-08-02 16:34:45 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-08-02 16:34:45 +0800 |
| commit | b7732e80b498b206b780827606e1277b2a5e4c12 (patch) | |
| tree | f203cc1d43cf44c614ce46a17847301df27d9cf2 /Library | |
| parent | 8f0249e9a1eb49102cb15c49515b16cac2c9e538 (diff) | |
| download | brew-b7732e80b498b206b780827606e1277b2a5e4c12.tar.bz2 | |
tab: check mxcl/master synonym unconditionally
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/tab.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index a65499dad..e5eaa5139 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -43,10 +43,10 @@ class Tab < OpenStruct tapped_from = attributes["tapped_from"] unless tapped_from.nil? || tapped_from == "path or URL" attributes["source"]["tap"] = attributes.delete("tapped_from") + end - if attributes["source"]["tap"] == "mxcl/master" - attributes["source"]["tap"] == "Homebrew/homebrew" - end + if attributes["source"]["tap"] == "mxcl/master" + attributes["source"]["tap"] = "Homebrew/homebrew" end if attributes["source"]["spec"].nil? |
