|
|
@ -68,11 +68,12 @@ fs::clonepath(const string &srcpath_, |
|
|
struct stat st; |
|
|
struct stat st; |
|
|
string dstpath; |
|
|
string dstpath; |
|
|
string srcpath; |
|
|
string srcpath; |
|
|
string dirname; |
|
|
|
|
|
|
|
|
stdfs::path dirname; |
|
|
|
|
|
|
|
|
if((relpath_ == NULL) || (relpath_[0] == '\0')) |
|
|
if((relpath_ == NULL) || (relpath_[0] == '\0')) |
|
|
return 0; |
|
|
return 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dirname = fs::path::dirname(relpath_); |
|
|
dirname = fs::path::dirname(relpath_); |
|
|
if(dirname != "/") |
|
|
if(dirname != "/") |
|
|
{ |
|
|
{ |
|
|
|