fs_clonepath.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-09-01 19:33:29 -05:00
parent 1b15ffce94
commit baf78b7578

View file

@ -74,7 +74,7 @@ fs::clonepath(const string &srcpath_,
relpath = relpath_;
if(relpath_[0] != '/')
relpath = "/" + relpath;
relpath = "/" / relpath;
dirname = relpath.parent_path();
if(dirname != dirname.root_path())