We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29d8279 commit 4a69774Copy full SHA for 4a69774
cwltool/process.py
@@ -354,11 +354,13 @@ def _collectDirEntries(
354
yield from _collectDirEntries(sub_obj)
355
356
def _relocate(src: str, dst: str) -> None:
357
+ src = fs_access.realpath(src)
358
+ dst = fs_access.realpath(dst)
359
+
360
if src == dst:
361
return
362
363
# If the source is not contained in source_directories we're not allowed to delete it
- src = fs_access.realpath(src)
364
src_can_deleted = any(
365
os.path.commonprefix([p, src]) == p for p in source_directories
366
)
0 commit comments