diff options
| author | Max Howell | 2009-09-02 10:42:57 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-02 15:44:10 +0100 |
| commit | 4c09e3ef2b9e99675daed2a4060c5af92c73adc9 (patch) | |
| tree | 28505759e283cb8c444b5c6369d9d8f18b0c2ebb | |
| parent | 4f8c46d62791a7f39c7b98b7f989a5b70eaaf400 (diff) | |
| download | brew-4c09e3ef2b9e99675daed2a4060c5af92c73adc9.tar.bz2 | |
brew info FIX if git isn't installed
| -rw-r--r-- | Library/Homebrew/brew.h.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index d688cd937..f771a3245 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -94,7 +94,8 @@ end def info name require 'formula' - user=`git config --global github.user`.chomp + user='' + user=`git config --global github.user`.chomp if system "which git > /dev/null" user='mxcl' if user.empty? # FIXME it would be nice if we didn't assume the default branch is masterbrew history="http://github.com/#{user}/homebrew/commits/masterbrew/Library/Formula/#{Formula.path(name).basename}" |
