mfm_dup.cpp

This commit is contained in:
Antonio SJ Musumeci
2025-09-01 18:39:53 -05:00
parent 0ea606a398
commit 52bee524fe
+1 -1
View File
@@ -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)
{