Install Git contrib more sensibly

Make caveats refer to persistent locations.
This commit is contained in:
Max Howell committed 2011-08-24 22:50:43 +01:00
1 parent 6fb81be44e
commit fff60b5e5e
1 file changed
+4 -4
+4 -4
View File
@@ -47,7 +47,7 @@ class Git < Formula
(share+'doc/git-core/contrib').install 'contrib/emacs'
# Install contrib files to share/contrib
(share).install 'contrib'
(share/:git).install 'contrib'
# These files are exact copies of the git binary, so like the contents
# of libexec/git-core lets hard link them.
@@ -71,10 +71,10 @@ class Git < Formula
#{etc}/bash_completion.d
Emacs support has been installed to:
#{share}/doc/git-core/contrib/emacs
#{HOMEBREW_PREFIX}/share/doc/git-core/contrib/emacs
The rest of the "contrib" has been installed to:
#{share}/contrib
The rest of the "contrib" is installed to:
#{HOMEBREW_PREFIX}/share/git/contrib
EOS
end
end