StaticFile#copy_entry: don't mark modified time if path is a symlink
This commit is contained in:
parent
fd5f2eb399
commit
8e91263031
|
@ -146,7 +146,10 @@ module Jekyll
|
|||
else
|
||||
FileUtils.copy_entry(path, dest_path)
|
||||
end
|
||||
|
||||
unless File.symlink?(dest_path)
|
||||
File.utime(self.class.mtimes[path], self.class.mtimes[path], dest_path)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue