fs_clonepath.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-09-01 18:36:59 -05:00
parent 42658b8a10
commit 6474f7cb27

View file

@ -73,6 +73,7 @@ fs::clonepath(const string &srcpath_,
if((relpath_ == NULL) || (relpath_[0] == '\0'))
return 0;
dirname = stdfs::path{relpath_}.parent_path();
dirname = fs::path::dirname(relpath_);
if(dirname != "/")