From b99dc82dcbf76e209db6437520715678fcf76ed0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 17 Jun 2014 17:05:10 -0500 Subject: git: fix permissions on html doc directories --- Library/Formula/git.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3