diff options
author | Ryan Davis <ryand@zenspider.com> | 2011-08-22 16:23:49 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2011-08-22 16:23:49 -0800 |
commit | 417210251816cf9d7b7b2cb74b02025c98bd5767 (patch) | |
tree | d57a4fcef6cc03238328400086fa383944a84e89 | |
parent | 5e3135be85a34c404d942b6b80d2219399204a4c (diff) | |
download | hoe-417210251816cf9d7b7b2cb74b02025c98bd5767.tar.gz |
+ Added recursive chmod to docs task to ensure group write-ability (kleb)
[git-p4: depot-paths = "//src/hoe/dev/": change = 6571]
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | lib/hoe/publish.rb | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -37,7 +37,7 @@ end [:redocs, :docs].each do |t| task t do cp "Hoe.pdf", "doc" - sh "chmod u+w doc/Hoe.pdf" + sh "chmod ug+w doc/Hoe.pdf" end end diff --git a/lib/hoe/publish.rb b/lib/hoe/publish.rb index 44aa5db..343e254 100644 --- a/lib/hoe/publish.rb +++ b/lib/hoe/publish.rb @@ -130,6 +130,7 @@ module Hoe::Publish task :docs do Dir.chdir local_rdoc_dir do cp "#{readme_file.gsub(/\./, '_')}.html", "index.html" + sh "chmod -R g+w ." end end |