diff options
| author | Nicholas Harteau | 2011-11-16 15:12:05 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-11-16 17:41:21 -0600 |
| commit | 4cfacc4def66d02b55d8b303b85522bf30317c8f (patch) | |
| tree | f984ffbea8ac6897c239f5af53d067537a8323ad /Library/Formula/git.rb | |
| parent | 423e93629a9b661eec67122d6d59c5b09d901b11 (diff) | |
| download | homebrew-4cfacc4def66d02b55d8b303b85522bf30317c8f.tar.bz2 | |
git: install Git.pm correctly on Lion
Fixes #8620.
Closes #8622.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/git.rb')
| -rw-r--r-- | Library/Formula/git.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index 61102fb6b..9ec7fdbd3 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -40,6 +40,13 @@ class Git < Formula # Put it into the Cellar so that it gets upgraded along with git upgrades. (prefix+'etc/bash_completion.d').install 'contrib/completion/git-completion.bash' + # Install Git.pm in the correct location for Lion + # https://github.com/mxcl/homebrew/issues/8620 + if MacOS.lion? + (lib+'perl5/site_perl').install 'perl/blib/lib/Git.pm' + (lib+'Git.pm').unlink + end + # Install emacs support. (share+'doc/git-core/contrib').install 'contrib/emacs' # Some people like the stuff in the contrib folder |
