|
|
@ -42,7 +42,7 @@ mfm::dup(const Opts::Dup &opts_) |
|
|
for(const auto &de : |
|
|
for(const auto &de : |
|
|
stdfs::directory_iterator(de.path().parent_path())) |
|
|
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) |
|
|
for(const auto &dstpath : srcpaths) |
|
|
{ |
|
|
{ |
|
|
|