Skip to content

Commit

Permalink
Use FileUtils.cp_r 'src/.', 'dest'
Browse files Browse the repository at this point in the history
  • Loading branch information
antono committed Jul 30, 2009
1 parent 4050124 commit e3ba1ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.rb
@@ -1,5 +1,5 @@
puts "\n===> Copying files..."
src = File.join(File.dirname(__FILE__), 'assets/*')
src = File.join(File.dirname(__FILE__), 'assets/.')
dst = File.join(RAILS_ROOT, "public/plugin_assets/markitup/")
FileUtils.mkdir_p dst
FileUtils.cp_r(src, dst, :verbose => true)
Expand Down
2 changes: 1 addition & 1 deletion tasks/markitup_rails_tasks.rake
@@ -1,6 +1,6 @@
namespace :markitup do

src = File.join(File.dirname(__FILE__), '../assets/*')
src = File.join(File.dirname(__FILE__), '../assets/.')
dst = File.join(RAILS_ROOT, "public/plugin_assets/markitup/")

desc "Copies markitups assets (css+js+images) to public dir"
Expand Down

0 comments on commit e3ba1ee

Please sign in to comment.