summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2011-08-22 16:23:49 -0800
committerRyan Davis <ryand@zenspider.com>2011-08-22 16:23:49 -0800
commit417210251816cf9d7b7b2cb74b02025c98bd5767 (patch)
treed57a4fcef6cc03238328400086fa383944a84e89
parent5e3135be85a34c404d942b6b80d2219399204a4c (diff)
downloadhoe-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--Rakefile2
-rw-r--r--lib/hoe/publish.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index a96bb37..55fdf0e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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