aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-08-02 16:34:45 +0800
committerXu Cheng2015-08-02 16:34:45 +0800
commitb7732e80b498b206b780827606e1277b2a5e4c12 (patch)
treef203cc1d43cf44c614ce46a17847301df27d9cf2 /Library
parent8f0249e9a1eb49102cb15c49515b16cac2c9e538 (diff)
downloadbrew-b7732e80b498b206b780827606e1277b2a5e4c12.tar.bz2
tab: check mxcl/master synonym unconditionally
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/tab.rb6
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?