diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index a65499dadb..e5eaa5139d 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?