fix: Set the right destination path.

pull/26/head
Raphaël Vinot 2020-01-15 16:35:43 +01:00
parent e25acb05d7
commit 9f74587cc1
1 changed files with 1 additions and 1 deletions

View File

@ -735,7 +735,7 @@ class KittenGroomerFileCheck(KittenGroomerBase):
if not srcpath.is_symlink() and srcpath.is_dir():
self.logger.add_dir(srcpath)
else:
dstpath = dst_dir / srcpath
dstpath = Path(str(srcpath).replace(str(self.src_root_path), str(self.dst_root_path)))
cur_file = File(srcpath, dstpath)
self.process_file(cur_file)