Merge pull request #2535 from simonsarris/master
This commit is contained in:
commit
4c04420a51
|
@ -59,6 +59,7 @@ module Jekyll
|
||||||
@@mtimes[path] = mtime
|
@@mtimes[path] = mtime
|
||||||
|
|
||||||
FileUtils.mkdir_p(File.dirname(dest_path))
|
FileUtils.mkdir_p(File.dirname(dest_path))
|
||||||
|
FileUtils.rm(dest_path) if File.exist?(dest_path)
|
||||||
FileUtils.cp(path, dest_path)
|
FileUtils.cp(path, dest_path)
|
||||||
|
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in New Issue