aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-04-18 10:17:42 -0700
committerAdam Vandenberg2011-04-18 10:17:42 -0700
commit8903ed45cbe3db9fa3715b8dee62550b7f19f6c8 (patch)
tree32192ac00d5fd6dfe9886b5e1be25b09b356b6bc /Library/Formula/git.rb
parent803e40bf43ad9c590a1f682cda37ab5265f5cb82 (diff)
downloadhomebrew-8903ed45cbe3db9fa3715b8dee62550b7f19f6c8.tar.bz2
git: note install locations in caveats
Diffstat (limited to 'Library/Formula/git.rb')
-rw-r--r--Library/Formula/git.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 43aad5868..5dcb728c0 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -20,7 +20,7 @@ class Git < Formula
ENV['NO_FINK']='1'
ENV['NO_DARWIN_PORTS']='1'
# If local::lib is used you get a 'Only one of PREFIX or INSTALL_BASE can be given' error
- ENV['PERL_MM_OPT']='';
+ ENV['PERL_MM_OPT']=''
# build verbosely so we can debug better
ENV['V']='1'
@@ -37,7 +37,7 @@ class Git < Formula
# Install emacs support.
(share+'doc/git-core/contrib').install 'contrib/emacs'
- # Install all other contrib files to share/contrib
+ # Install contrib files to share/contrib
(share).install 'contrib'
# these files are exact copies of the git binary, so like the contents
@@ -58,9 +58,13 @@ class Git < Formula
end
def caveats; <<-EOS.undent
- Bash completion and emacs support have been installed.
+ Bash completion has been installed to:
+ #{prefix}/etc/bash_completion.d/
- The rest of the "contrib" folder has been copied to:
+ Emacs support has been installed to:
+ #{share}/doc/git-core/contrib/emacs/
+
+ The rest of the "contrib" has been installed to:
#{share}/contrib
EOS
end