Skip to content

Commit 5d9ee12

Browse files
committed
realpath on resolving path equality
1 parent 71a3ff3 commit 5d9ee12

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "DFControl"
22
uuid = "1e31e15d-4957-550d-a244-318eced754ae"
33
authors = ["Louis Ponet <[email protected]>"]
44
repo = "https://github.com/louisponet/DFControl.jl.git"
5-
version = "0.5.24"
5+
version = "0.5.25"
66

77
[deps]
88
ANSIColoredPrinters = "a4c015fc-c6ff-483c-b24f-f7ea428134e9"

src/Jobs/job.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ for (f, strs) in zip((:cp, :mv), (("copy", "Copies"), ("move", "Moves")))
268268
mkpath(server, dest)
269269
end
270270
for file in readdir(server, job.dir)
271-
p = joinpath(job, file)
271+
p = realpath(server, joinpath(job, file))
272272
if file == VERSION_DIR_NAME
273273
continue
274274
elseif file == TEMP_CALC_DIR && !job.copy_temp_folders
@@ -277,7 +277,7 @@ for (f, strs) in zip((:cp, :mv), (("copy", "Copies"), ("move", "Moves")))
277277
if joinpath(job, file) == abspath(dest)
278278
continue
279279
end
280-
destpath = joinpath(dest, file)
280+
destpath = realpath(server, joinpath(dest, file))
281281
if destpath != p
282282
$f(server, p, destpath; kwargs...)
283283
end

0 commit comments

Comments
 (0)