diff --git a/lib/jekyll/static_file.rb b/lib/jekyll/static_file.rb index a58ae304b44df96d10c8cfcca8cd05f0e92be4f4..2fd63919f8ad2e6a94d68a5f414edd2abfc6a513 100644 --- a/lib/jekyll/static_file.rb +++ b/lib/jekyll/static_file.rb @@ -22,6 +22,7 @@ module Jekyll begin FileUtils.ln(path, dest_path) rescue Errno::EXDEV + Jekyll.logger.warn 'Jekyll::StaticFile', "Cross-device link found, copying to #{dest_path} instead" copy_file(dest_path) end end