diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index 3f30ca6e8f..aaa1fd9e21 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -172,7 +172,7 @@ def github_info name end user = 'mxcl' if user.empty? - branch = 'master' if user.empty? + branch = 'master' if branch.empty? return "http://github.com/#{user}/homebrew/commits/#{branch}/Library/Formula/#{formula_name}" end