readded "env=prod"-condition

This commit is contained in:
surrim 2016-03-25 19:42:53 +01:00
parent 64d5e3dfd3
commit 9be387ef6f
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ module Jekyll
FileUtils.mkdir_p(File.dirname(dest_path))
FileUtils.rm(dest_path) if File.exist?(dest_path)
if @site.safe
if @site.safe || Jekyll.env == "production"
FileUtils.cp(path, dest_path)
else
FileUtils.copy_entry(path, dest_path)