mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-20 00:17:43 +00:00
mfm_dup.cpp
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ mfm::dup(const Opts::Dup &opts_)
|
||||
for(const auto &de :
|
||||
stdfs::directory_iterator(de.path().parent_path()))
|
||||
{
|
||||
auto relpath = stdfs::path("/") / stdfs::relative(de.path(),srcpath);
|
||||
auto relpath = stdfs::relative(de.path(),srcpath);
|
||||
|
||||
for(const auto &dstpath : srcpaths)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user