|
|
@ -76,9 +76,8 @@ fs::clonepath(const string &srcpath_, |
|
|
if(relpath[0] != '/') |
|
|
if(relpath[0] != '/') |
|
|
relpath = '/' + relpath; |
|
|
relpath = '/' + relpath; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dirname = fs::path::dirname(relpath_); |
|
|
|
|
|
if(dirname != "/") |
|
|
|
|
|
|
|
|
dirname = relpath.parent_path(); |
|
|
|
|
|
if(dirname == dirname.root_path()) |
|
|
{ |
|
|
{ |
|
|
rv = fs::clonepath(srcpath_,dstpath_,dirname,return_metadata_errors_); |
|
|
rv = fs::clonepath(srcpath_,dstpath_,dirname,return_metadata_errors_); |
|
|
if(rv < 0) |
|
|
if(rv < 0) |
|
|
|