Permalink
Browse files

git: note install locations in caveats

  • Loading branch information...
1 parent 803e40b commit 8903ed45cbe3db9fa3715b8dee62550b7f19f6c8 @adamv adamv committed Apr 18, 2011
Showing with 8 additions and 4 deletions.
  1. +8 −4 Library/Formula/git.rb
View
@@ -20,7 +20,7 @@ def install
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 @@ def install
# 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 @@ def install
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

0 comments on commit 8903ed4

Please sign in to comment.