aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-06-17 17:05:10 -0500
committerJack Nagel2014-06-17 17:06:17 -0500
commitb99dc82dcbf76e209db6437520715678fcf76ed0 (patch)
treeb5386572936ffa644b2ac7ae7b2a13ed5085d61a
parent6b1bfe5b099fda1cc24b91c3c33d58856f385c1d (diff)
downloadhomebrew-b99dc82dcbf76e209db6437520715678fcf76ed0.tar.bz2
git: fix permissions on html doc directories
-rw-r--r--Library/Formula/git.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index b0e683ecf..f02c5c753 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -120,8 +120,9 @@ class Git < Formula
man.install resource('man')
(share+'doc/git-doc').install resource('html')
- # Make html docs world-readable; check if this is still needed at 1.8.6
+ # Make html docs world-readable
chmod 0644, Dir["#{share}/doc/git-doc/**/*.{html,txt}"]
+ chmod 0755, Dir["#{share}/doc/git-doc/{RelNotes,howto,technical}"]
end
def caveats; <<-EOS.undent