lib/minke/helpers/helper.rb in minke-1.0.1 vs lib/minke/helpers/helper.rb in minke-1.0.2
- old
+ new
@@ -8,10 +8,10 @@
if File.directory?(to)
directory = File.dirname(to)
end
Dir.mkdir directory unless Dir.exist? to
- FileUtils.cp from, to
+ FileUtils.cp_r from, to
end
##
# invoke a rake task
def invoke_task task