diff --git a/lib/jekyll/static_file.rb b/lib/jekyll/static_file.rb index 0f8544ee..e11d6689 100644 --- a/lib/jekyll/static_file.rb +++ b/lib/jekyll/static_file.rb @@ -146,7 +146,10 @@ module Jekyll else FileUtils.copy_entry(path, dest_path) end - File.utime(self.class.mtimes[path], self.class.mtimes[path], dest_path) + + unless File.symlink?(dest_path) + File.utime(self.class.mtimes[path], self.class.mtimes[path], dest_path) + end end end end