aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-22 21:52:02 +0530
committerPratik Naik <pratiknaik@gmail.com>2008-10-22 21:52:02 +0530
commit50820a9de1dbcc1568b4404cf358a1acf9ee39aa (patch)
tree06b82f46d77ed82ba53d5f9efbd3ac06142eede6
parentc399e80e04e0f62766c20e39195cae9a0d48ab8f (diff)
downloadrails-50820a9de1dbcc1568b4404cf358a1acf9ee39aa.tar.gz
rails-50820a9de1dbcc1568b4404cf358a1acf9ee39aa.tar.bz2
rails-50820a9de1dbcc1568b4404cf358a1acf9ee39aa.zip
Dont copy images twice
-rw-r--r--railties/lib/tasks/documentation.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/documentation.rake b/railties/lib/tasks/documentation.rake
index 77b6532fbf..6caf69ccd3 100644
--- a/railties/lib/tasks/documentation.rake
+++ b/railties/lib/tasks/documentation.rake
@@ -61,7 +61,7 @@ namespace :doc do
FileUtils.cp_r File.join(source, 'html/.'), File.join(destination)
# Copy images and css files to html directory. These dirs are in .gitigore and shouldn't be source controlled.
- FileUtils.cp_r File.join(source, 'source/images'), File.join(destination, 'images')
+ FileUtils.cp_r File.join(source, 'source/images'), File.join(destination)
FileUtils.cp_r File.join(source, 'source/stylesheets'), File.join(destination, 'stylesheets')
end