fs_clonepath.cpp

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

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())